Sims 4 UI Cheats
On this page
  1. Top spellcaster cheats
  2. Turn cheats on first
  3. Turn a Sim into a spellcaster
  4. Every spellcaster cheat
  5. Rank and XP thresholds
  6. Unlock spells one at a time
  7. Add and lift curses
  8. Curses and talent points in UI Cheats
  9. Frequently asked questions

Sims 4 spellcaster cheats

Updated Sources checked 23 September 2026

traits.equip_trait trait_Occult_WitchOccult makes a Sim a spellcaster, and traits.remove_trait with the same name removes it.

A robed Sim in a stone library tower with open books circling them beside a three-quarter-full progress bar

Top spellcaster cheats

The top five Sims 4 spellcaster cheats
CommandWhat it doesNotesCopy
Commandtraits.equip_trait trait_Occult_WitchOccultWhat it doesTurns the Sim into a spellcaster.NotesNeeds testingcheatsRealm of Magic only
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 2350What it doesSets the Sim to Virtuoso, the top rank.NotesNeeds testingcheatsRealm of Magic only
Commandspells.unlock_spell spells_Practical_1_RepairWhat it doesUnlocks Repairio, the practical repair spell.NotesNeeds testingcheatsRealm of Magic only
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineAncientWhat it doesGives the Ancient Bloodline trait.NotesNeeds testingcheatsRealm of Magic only
Commandtraits.remove_trait trait_Occult_WitchOccultWhat it doesRemoves spellcaster status.NotesNeeds testingcheatsRealm of Magic only

Turn cheats on first

Turn a Sim into a spellcaster

Click the Sim, then enter traits.equip_trait trait_Occult_WitchOccult. Their spells stay locked, so unlock those next.

A grid of nine spell tiles with one lit and an Unlock option open beside it, a robed Sim behind
What the trait doesn't give the Sim

The Sim starts at the lowest rank with no spells, no bloodline and no talent points.

Practical, Mischief and Untamed magic aren't skills, so stats.set_skill_level won't work on them. Set the rank instead.

Every spellcaster cheat

Turn a Sim into a spellcaster

One command each way, skipping the Magic Realm visit and the mentor.

Sims 4 spellcaster cheats: Turn a Sim into a spellcaster
CommandWhat it doesNotesCopy
Commandtraits.equip_trait trait_Occult_WitchOccultWhat it doesTurns the Sim into a spellcaster.NotesNeeds testingcheatsRealm of Magic only
Commandtraits.remove_trait trait_Occult_WitchOccultWhat it doesRemoves spellcaster status.NotesNeeds testingcheatsRealm of Magic only

Rank and experience

Virtuoso is the top rank at 2350. 2850 fills the bar, but there's no rank above it.

Sims 4 spellcaster cheats: Rank and experience
CommandWhat it doesNotesCopy
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 50What it doesSets the Sim to the Neophyte rank.NotesNeeds testingcheatsRealm of Magic only
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 350What it doesSets the Sim to Acolyte.NotesNeeds testingcheatsRealm of Magic only
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 850What it doesSets the Sim to Adept.NotesNeeds testingcheatsRealm of Magic only
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 1550What it doesSets the Sim to Master.NotesNeeds testingcheatsRealm of Magic only
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 2350What it doesSets the Sim to Virtuoso, the top rank.NotesNeeds testingcheatsRealm of Magic only

Bloodlines

A Sim can only carry one bloodline at a time, so remove the old one first.

Sims 4 spellcaster cheats: Bloodlines
CommandWhat it doesNotesCopy
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineWeakWhat it doesGives the Weak Bloodline trait.NotesNeeds testingcheatsRealm of Magic only
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineStrongWhat it doesGives the Strong Bloodline trait.NotesNeeds testingcheatsRealm of Magic only
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineAncientWhat it doesGives the Ancient Bloodline trait.NotesNeeds testingcheatsRealm of Magic only

Unlock spells

There are twenty-seven spells, nine per school, and no command unlocks them all at once. Familiars have no cheat either, so find the object in Build and Buy.

Sims 4 spellcaster cheats: Unlock spells
CommandWhat it doesNotesCopy
Commandspells.unlock_spell spells_<Practical|Mischief|Untamed>_<tier>_<SpellName>What it doesUnlocks one spell for the active Sim.NotesNeeds testingcheatsRealm of Magic onlyThe tier is a number from 1 to 5, and the school is the name of one of the three magic paths.
Commandspells.unlock_spell spells_Practical_1_RepairWhat it doesUnlocks Repairio, the practical repair spell.NotesNeeds testingcheatsRealm of Magic only
Commandspells.unlock_spell spells_Mischief_1_SadnessWhat it doesUnlocks Despairio, which makes another Sim sad.NotesNeeds testingcheatsRealm of Magic only
Commandspells.unlock_spell spells_Untamed_5_CloneSelfWhat it doesUnlocks Duplicato, the top-tier untamed cloning spell.NotesNeeds testingcheatsRealm of Magic only
Commandbb.showhiddenobjectsWhat it doesShows the debug catalog, which holds scenery, clutter and event objects you can't normally buy.NotesPC, Mac, Xbox, PlayStationIt's known as the buydebug cheat. Search the catalog for debug to list everything it added.

Talent points and perks

Perks come from the three talent categories, Alchemy, Prowess and Spellcasting, plus a general group. Look the Sim ID up first.

Sims 4 spellcaster cheats: Talent points and perks
CommandWhat it doesNotesCopy
Commandsims.get_sim_id_by_name <First> <Last>What it doesPrints your spellcaster's numeric ID in the console.NotesNeeds testingcheatsUse the Sim's first and last name as the game spells them, with a space between.
Commandbucks.unlock_perk witchPerks_<Path>_<n>_<Name> true 49153 <SimID>What it doesUnlocks one spellcaster perk. The 49153 is the number of their perk tree.NotesNeeds testingcheatsRealm of Magic onlyOnly one guide gives this syntax and the full perk names, so check the perk panel after you run it.

Charge and curses

Charge builds as a Sim casts, and if it runs too high the Sim overloads, which is where most curses come from.

Sims 4 spellcaster cheats: Charge and curses
CommandWhat it doesNotesCopy
Commandsims.add_buff buff_WitchOccult_LockChargeWhat it doesFreezes the magical charge so casting can't push the Sim toward an overload.NotesNeeds testingcheatsRealm of Magic onlyTwo guides say the freeze lasts four hours. EA doesn't mention the command anywhere.
Commandtraits.equip_trait trait_Curses_<Name>What it doesAdds a spellcaster curse.NotesNeeds testingcheatsRealm of Magic onlyOne guide lists names including TouchyFeely, HexofDuelist, InfectiousLaughter, NightStalker, Repulsiveness, WildMagic, SweatyStench, FountainOfMagic and PunchableFace. No other guide does, so some may be spelled differently in your game.

Rank and XP thresholds

RankSet the XP stat to
Neophyte50
Acolyte350
Adept850
Master1550
Virtuoso2350
Bar full2850

Unlock spells one at a time

Familiars, and the talent perk syntax

Run bb.showhiddenobjects to put the familiar objects in Build and Buy, place one, then bind it in game. The full Build mode command list is on the Build mode cheats page.

Talent perks need the numeric Sim ID and the spellcaster tree number, which is 49153. One guide prints 49513, but that's a typo with two digits swapped.

Add and lift curses

The charge freeze and the curse names

sims.add_buff buff_WitchOccult_LockCharge holds the magical charge still, which is what stops a Sim overloading. Two guides say the freeze lasts four hours, and EA doesn't mention it.

The curse names in the table's note come from one guide, and no other lists them. If the game rejects a name, a different spelling is the likely reason.

Curses and talent points in UI Cheats

Right-click the XP bar in weerbesu's UI Cheats for The Sims 4 to pick a rank, the talent point counter to set points, a perk to unlock it or a curse to remove it.

The feature list covers everything else it does.

A vampire Sim in a candlelit library with a vampire power tree open and a right-click menu offering Unlock and Lock

Frequently asked questions

What is the cheat to become a spellcaster in The Sims 4?

Turn on cheats, select your Sim and enter traits.equip_trait trait_Occult_WitchOccult. They don't need a trip to the Magic Realm or a mentor. To remove spellcaster status later, traits.remove_trait trait_Occult_WitchOccult turns them back.

Is there a cheat to unlock all spells at once?

No. Every guide we found does them one at a time with spells.unlock_spell, and there are twenty-seven across the three schools. Potions are one at a time too, and a bulk unlock of either takes a third-party mod.

How do you set a spellcaster bloodline?

Bloodlines are traits: trait_Occult_WitchOccult_BloodlineWeak, trait_Occult_WitchOccult_BloodlineStrong or trait_Occult_WitchOccult_BloodlineAncient after traits.equip_trait. A Sim can only carry one at a time, so remove the old one before adding another.

Can you cheat a curse on or off?

Curses are traits, so traits.equip_trait trait_Curses_<Name> is the pattern. Only one guide prints the names clearly, so you may have to try a spelling or two. With the UI Cheats Extension, right-click a curse to remove it without a command.