# Preparing Spells; Spell Preparation by Class *Source: Player's Handbook (2024) p. 235. Available in the <span title='Systems Reference Document (5.2)'>SRD</span> and the Free Rules (2024)* **Spell Preparation by Class** | Class | Change When You... | Number of Spells | |-------|--------------------|------------------| | [Bard](Mechanics/CLI/classes/bard-xphb.md) | Gain a level | One | | [Cleric](Mechanics/CLI/classes/cleric-xphb.md) | Finish a Long Rest | Any | | [Druid](Mechanics/CLI/classes/druid-xphb.md) | Finish a Long Rest | Any | | [Paladin](Mechanics/CLI/classes/paladin-xphb.md) | Finish a Long Rest | One | | [Ranger](Mechanics/CLI/classes/ranger-xphb.md) | Finish a Long Rest | One | | [Sorcerer](Mechanics/CLI/classes/sorcerer-xphb.md) | Gain a level | One | | [Warlock](Mechanics/CLI/classes/warlock-xphb.md) | Gain a level | One | | [Wizard](Mechanics/CLI/classes/wizard-xphb.md) | Finish a Long Rest | Any | ^spell-preparation-by-class