v3.25.3
Cover
12 Months Ended
Jun. 30, 2025
Document Information [Line Items]  
Document Type DEF 14A
Amendment Flag false
Entity Information [Line Items]  
Entity Registrant Name THE MARZETTI COMPANY
Entity Central Index Key 0000057515