# Hat of Wizardry *Wondrous item, spellcasting focus, common (requires attunement by a wizard)* ![](/Rules/Source/items/img/hat-of-wizardry.webp#right) This cone-shaped hat is adorned with moons and stars. While you are wearing it, you gain the following benefits. ## Spellcasting Focus You can use the hat as a [Spellcasting Focus](/Rules/Source/variant-rules/spellcasting-focus-xphb.md) for your Wizard spells. ## Unknown Spell As a [Magic](/Rules/Source/actions.md#Magic) action, you can try to cast a cantrip that you don't know. The cantrip must be on the Wizard spell list and have a casting time of an action, and you make a DC 10 Intelligence ([Arcana](/Rules/Source/skills.md#Arcana)) check. On a successful check, you cast the spell. On a failed check, the spell fails, and the action used to cast the spell is wasted. In either case, you can't use this property again until you finish a [Long Rest](/Rules/Source/variant-rules/long-rest-xphb.md). *Source: Dungeon Master's Guide (2024) p. 267*