Skyrim Codex

setrace Console Command

Documentation and examples for the setrace command in Skyrim.

setrace

Character

Change a selected NPC's race by race ID.

ParameterDescription
Race IDIDrequiredThe editor ID of the race (e.g. NordRace).

Command builder

Fill in the parameters to build a ready-to-paste setrace command. Fields with a dropdown let you pick a valid ID.

Race ID

Examples

Here is an example of how to use setrace.

Changes the selected NPC's race to Nord.

Overview

Sets the race of the selected NPC using a race editor ID, the targeted version of player.setrace. It changes the NPC's racial traits and base appearance. It is mostly used for modding or fixing a miscast NPC and can have side effects on abilities, so use it knowingly. Select the NPC first.

Frequently asked questions

How do you use the setrace command in Skyrim?

Open the console with the tilde (~) key while in-game, type setrace followed by its parameters, then press Enter. For example: setrace nordrace. The console is only available in the PC version of Skyrim.

What does the setrace command do?

Change a selected NPC's race by race ID.

What are the parameters for the setrace command?

The syntax is setrace [race id]. It takes one argument: race id.

Does the setrace command require any DLC?

No. setrace is part of the base game and works without any DLC.

Does using setrace disable Steam achievements?

Opening the console and entering any command, including setrace, disables Steam achievements for the rest of that play session on PC. Reload an earlier save or use an achievement-enabler mod if you still want achievements.