Skyrim Codex

setessential Console Command

Documentation and examples for the setessential command in Skyrim.

setessential

NPCs & Actors

Make an NPC essential or removable by base ID.

ParameterDescription
Base Form IDIDrequiredThe base form ID of the object to place.
Essential (1) / Not (0)Textrequired

Command builder

Fill in the parameters to build a ready-to-paste setessential command.

Base Form ID
Essential (1) / Not (0)

Examples

Here are some examples of how to use setessential.

Makes the NPC with that base ID essential.

Removes essential status so the NPC can be killed.

Overview

Sets whether an NPC can be killed, using the NPC's base form ID rather than a reference. Pass 1 to make them essential and unkillable, or 0 to allow them to die. It is the way to protect a follower from death or, conversely, to enable killing an essential character. Because it uses the base ID, it affects all instances of that NPC.

Frequently asked questions

How do you use the setessential command in Skyrim?

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

What does the setessential command do?

Make an NPC essential or removable by base ID.

What are the parameters for the setessential command?

The syntax is setessential [base form id] [essential (1) / not (0)]. It takes 2 arguments: base form id, essential (1) / not (0).

Does the setessential command require any DLC?

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

Does using setessential disable Steam achievements?

Opening the console and entering any command, including setessential, 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.