# 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](/Rules/Source/classes/bard-xphb.md) | Gain a level | One |
| [Cleric](/Rules/Source/classes/cleric-xphb.md) | Finish a Long Rest | Any |
| [Druid](/Rules/Source/classes/druid-xphb.md) | Finish a Long Rest | Any |
| [Paladin](/Rules/Source/classes/paladin-xphb.md) | Finish a Long Rest | One |
| [Ranger](/Rules/Source/classes/ranger-xphb.md) | Finish a Long Rest | One |
| [Sorcerer](/Rules/Source/classes/sorcerer-xphb.md) | Gain a level | One |
| [Warlock](/Rules/Source/classes/warlock-xphb.md) | Gain a level | One |
| [Wizard](/Rules/Source/classes/wizard-xphb.md) | Finish a Long Rest | Any |
^spell-preparation-by-class