On this page
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.

Top spellcaster cheats
| Command | What it does | Notes | Copy |
|---|---|---|---|
Commandtraits.equip_trait trait_Occult_WitchOccult | What it doesTurns the Sim into a spellcaster. | Notes | |
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 2350 | What it doesSets the Sim to Virtuoso, the top rank. | Notes | |
Commandspells.unlock_spell spells_Practical_1_Repair | What it doesUnlocks Repairio, the practical repair spell. | Notes | |
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineAncient | What it doesGives the Ancient Bloodline trait. | Notes | |
Commandtraits.remove_trait trait_Occult_WitchOccult | What it doesRemoves spellcaster status. | Notes |
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.

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.
| Command | What it does | Notes | Copy |
|---|---|---|---|
Commandtraits.equip_trait trait_Occult_WitchOccult | What it doesTurns the Sim into a spellcaster. | Notes | |
Commandtraits.remove_trait trait_Occult_WitchOccult | What it doesRemoves spellcaster status. | Notes |
Rank and experience
Virtuoso is the top rank at 2350. 2850 fills the bar, but there's no rank above it.
| Command | What it does | Notes | Copy |
|---|---|---|---|
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 50 | What it doesSets the Sim to the Neophyte rank. | Notes | |
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 350 | What it doesSets the Sim to Acolyte. | Notes | |
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 850 | What it doesSets the Sim to Adept. | Notes | |
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 1550 | What it doesSets the Sim to Master. | Notes | |
Commandstats.set_stat rankedStatistic_WitchOccult_WitchXP 2350 | What it doesSets the Sim to Virtuoso, the top rank. | Notes |
Bloodlines
A Sim can only carry one bloodline at a time, so remove the old one first.
| Command | What it does | Notes | Copy |
|---|---|---|---|
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineWeak | What it doesGives the Weak Bloodline trait. | Notes | |
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineStrong | What it doesGives the Strong Bloodline trait. | Notes | |
Commandtraits.equip_trait trait_Occult_WitchOccult_BloodlineAncient | What it doesGives the Ancient Bloodline trait. | Notes |
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.
| Command | What it does | Notes | Copy |
|---|---|---|---|
Commandspells.unlock_spell spells_<Practical|Mischief|Untamed>_<tier>_<SpellName> | What it doesUnlocks one spell for the active Sim. | NotesThe 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_Repair | What it doesUnlocks Repairio, the practical repair spell. | Notes | |
Commandspells.unlock_spell spells_Mischief_1_Sadness | What it doesUnlocks Despairio, which makes another Sim sad. | Notes | |
Commandspells.unlock_spell spells_Untamed_5_CloneSelf | What it doesUnlocks Duplicato, the top-tier untamed cloning spell. | Notes | |
Commandbb.showhiddenobjects | What it doesShows the debug catalog, which holds scenery, clutter and event objects you can't normally buy. | NotesIt'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.
| Command | What it does | Notes | Copy |
|---|---|---|---|
Commandsims.get_sim_id_by_name <First> <Last> | What it doesPrints your spellcaster's numeric ID in the console. | NotesUse 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. | NotesOnly 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.
| Command | What it does | Notes | Copy |
|---|---|---|---|
Commandsims.add_buff buff_WitchOccult_LockCharge | What it doesFreezes the magical charge so casting can't push the Sim toward an overload. | NotesTwo 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. | NotesOne 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
| Rank | Set the XP stat to |
|---|---|
| Neophyte | 50 |
| Acolyte | 350 |
| Adept | 850 |
| Master | 1550 |
| Virtuoso | 2350 |
| Bar full | 2850 |
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.

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.



