The Sims 4: Realm of Magic PC Cheats:

Codes of the The Sims 4 should work. (Sim ID - Firstname Lastname)

To start, make sure testing cheats is enabled. Press Control + Shift +C to access command. Enter: 

testingcheats true 


testingcheats on 

If you get a message that reads 'cheats enabled,’ then you know you’ve done it right

Change your Sim into a Spellcaster – traits.equip_trait trait_Occult_WitchOccult

Change your Spellcaster Sim into a Normal Sim – traits.remove_trait trait_Occult_WitchOccult

Change your Sim into a Night Stalker Ghost – traits.equip_trait trait_Ghost_Curses_NightStalker_Stalker

Make your Sims look like a Ghost – traits.equip_trait trait_Magic_Marketstall_SpectralLook

Death By Spellcaster Overload – traits.equip_trait trait_Ghost_WitchOverload

Ghastly Consequences Trait – traits.equip_trait trait_Ghost_Cauldron_Potion_Immortality_Failure

Spellcasters will gain an additional talent point at every rank, get a slight increase in experience gain, and reduce the chance of overloading by 10% – traits.equip_trait trait_Occult_WitchOccult_BloodlineWeak

Spellcasters will gain an additional talent point at every rank, get a medium increase in experience gain, and reduce the chance of overloading by 20% – traits.equip_trait trait_Occult_WitchOccult_BloodlineStrong

Spellcasters will gain an additional talent point at every rank, get a greater increase in experience gain, and reduce the chance of overloading by 50% – traits.equip_trait trait_Occult_WitchOccult_BloodlineAncient

Neophyte Spellcaster rank – stats.set_stat rankedStatistic_WitchOccult_WitchXP 50

Acolyte Spellcaster rank – stats.set_stat rankedStatistic_WitchOccult_WitchXP 350

Adept Spellcaster rank – stats.set_stat rankedStatistic_WitchOccult_WitchXP 850

Master Spellcaster rank – stats.set_stat rankedStatistic_WitchOccult_WitchXP 1550

Virtuoso Spellcaster rank – stats.set_stat rankedStatistic_WitchOccult_WitchXP 2350

Max out XP bar and gain one talent point (or two talent points if a Bloodline Trait is equipped) – stats.set_stat rankedStatistic_WitchOccult_WitchXP 2850

Unlock all Spellcaster Perks and Refund the Spend Points – bucks.lock_all_perks_for_bucks_type 49153 {SimID} true

Discharge – bucks.unlock_perk witchPerks_Spellcasting_1_Discharge true 49153 {SimID}

Power Shunt – bucks.unlock_perk witchPerks_Spellcasting_2_PowerShunt true 49153 {SimID}

Spectral Reach – bucks.unlock_perk witchPerks_Spellcasting_3_SpectralReach true 49153 {SimID}

Master Caster – bucks.unlock_perk witchPerks_Spellcasting_4_MasterCaster true 49153 {SimID}

Master Duelist – bucks.unlock_perk witchPerks_Spellcasting_5_MasterDuelist true 49153 {SimID}

Knowledge Is Magic – bucks.unlock_perk witchPerks_Prowess_1_KnowledgeIsMagic true 49153 {SimID}

Mote Hound – bucks.unlock_perk witchPerks_Prowess_2_MoteHound true 49153 {SimID}

Charge Control – bucks.unlock_perk witchPerks_Prowess_3_ChargeControl true 49153 {SimID}

Hexproof – bucks.unlock_perk witchPerks_Prowess_4_Hexproof true 49153 {SimID}

Magical Resonance – bucks.unlock_perk witchPerks_Prowess_5_MagicalResonance true 49153 {SimID}

Blender Arm – bucks.unlock_perk witchPerks_Alchemy_1_BlenderArm true 49153 {SimID}

Frugal Combination – bucks.unlock_perk witchPerks_Alchemy_2_FrugalCombinations true 49153 {SimID}

A Little Extra Chemistry – bucks.unlock_perk witchPerks_Alchemy_3_ExtraChemistry true 49153 {SimID}

Mix Master – bucks.unlock_perk witchPerks_Alchemy_4_MixMaster true 49153 {SimID}

Potent Potables – bucks.unlock_perk witchPerks_Alchemy_5_PotentPotables true 49153 {SimID}

Practiced Practicality – bucks.unlock_perk witchPerks_Open_3C_PracticedPracticality true 49153 {SimID}

Incredible Forager – bucks.unlock_perk witchPerks_Open_1A_IncredibleForager true 49153 {SimID}

Insightful Eye – bucks.unlock_perk witchPerks_Open_2A_InsightfulEye true 49153 {SimID}

Mischief Master – bucks.unlock_perk witchPerks_Open_3A_MischiefMaster true 49153 {SimID}

Natural Mentor – bucks.unlock_perk witchPerks_Open_4A_NaturalMentor true 49153 {SimID}

Experimenter – bucks.unlock_perk witchPerks_Open_1B_Experimenter true 49153 {SimID}

Spellcaster Socialite – bucks.unlock_perk witchPerks_Open_2B_WitchSocialite true 49153 {SimID}

Tame the Untameable – bucks.unlock_perk witchPerks_Open_3B_TameTheUntameable true 49153 {SimID}

Magical Discounts – bucks.unlock_perk witchPerks_Open_4B_MagicalDiscounts true 49153 {SimID}

Apply Curse of Infectious Laughter – traits.equip_trait trait_Curses_InfectiousLaughter

Remove Curse of Infectious Laughter – traits.remove_trait trait_Curses_InfectiousLaughter

Apply Curse of the Night Wraith – traits.equip_trait trait_Curses_NightStalker

Remove Curse of the Night Wraith – traits.remove_trait trait_Curses_NightStalker

Apply Curse of Unwarranted Hostility – traits.equip_trait trait_Curses_PunchableFace

Remove Curse of Unwarranted Hostility – traits.remove_trait trait_Curses_PunchableFace

Apply Curse of Repulsiveness – traits.equip_trait trait_Curses_Repulsiveness

Remove Curse of Repulsiveness – traits.remove_trait trait_Curses_Repulsiveness

Apply Curse of Uncleansable Stench – traits.equip_trait trait_Curses_SweatyStench

Remove Curse of Uncleansable Stench – traits.remove_trait trait_Curses_SweatyStench

Apply Curse of Awkward Embraces – traits.equip_trait trait_Curses_TouchyFeely

Remove Curse of Awkward Embraces – traits.remove_trait trait_Curses_TouchyFeely

Apply Curse of Scrambled Spells – traits.equip_trait trait_Curses_WildMagic

Remove Curse of Scrambled Spells – traits.remove_trait

Slinger of Spells (less charge when casting spells) – traits.equip_trait trait_Knowledge_SlingerOfSpells

Master Mixer (mixing potions rarely fails) – traits.equip_trait trait_Nature_MasterMixer

Immortal (chosen sim will never die from old age) – traits.equip_trait trait_Cauldron_Potion_Immortality

Gives your sim the Sage of Practical Magic rune – sims.add_buff buff_MagicSage_Practical

Gives your sim the Sage of Mischief Magic rune – sims.add_buff buff_MagicSage_Mischief

Gives your sim the Untamed Magic rune – sims.add_buff buff_MagicSage_Untamed

Scruberoo – spells.unlock_spell spells_Practical_1_Clean

Repairio – spells.unlock_spell spells_Practical_1_Repair

Delicioso – spells.unlock_spell spells_Practical_2_Food

Floralorial – spells.unlock_spell spells_Practical_2_Garden

Transportalate – spells.unlock_spell spells_Practical_3_Teleport

Copypasto – spells.unlock_spell spells_Practical_3_Duplicate

Herbio – spells.unlock_spell spells_Practical_4_GrowPlant

Homewardial – spells.unlock_spell spells_Practical_4_Transpor

Rite of Ascension – spells.unlock_spell spells_Practical_5_ConvertToWitch

Deliriate – spells.unlock_spell spells_Mischief_1_Confuse

Despairio – spells.unlock_spell spells_Mischief_1_Sadness

Furio – spells.unlock_spell spells_Mischief_2_Fight

Infatuate – spells.unlock_spell spells_Mischief_2_Love

Burgliate – spells.unlock_spell spells_Mischief_3_Steal

Morphiate – spells.unlock_spell spells_Mischief_4_Transform

Strangeify – spells.unlock_spell spells_Mischief_5_ChangeAppearance

Inferniate – spells.unlock_spell spells_Untamed_1_Fire

Zipzap – spells.unlock_spell spells_Untamed_2_Lightning

Necrocall – spells.unlock_spell spells_Untamed_2_SummonGhost

Chillio – spells.unlock_spell spells_Untamed_3_Freeze

Minionize – spells.unlock_spell spells_Untamed_3_MindControl

Decursify – spells.unlock_spell spells_Untamed_4_RemoveCurse

Dedeathify – spells.unlock_spell spells_Untamed_4_Resurrect

Duplicato – spells.unlock_spell spells_Untamed_5_CloneSelf

Grants Luck of the Spellcaster – sims.add_buff buff_Cauldron_Potion_Luck_Potent

Get Money with Luck of the Spellcaster – sims.add_buff buff_Cauldron_Potion_Luck_CHEAT_AlwaysMoney

Get Ingredients with Luck of the Spellcaster – sims.add_buff buff_Cauldron_Potion_Luck_CHEAT_AlwaysObjects

Stop the Spellcaster Charge Delay (for 4 hours) – sims.add_buff buff_WitchOccult_LockCharge

Find Tomes outside the Magic Realm – sims.add_buff buff_AtMagicHQ