YES — but only when ALL FOUR conditions are met.
NFPA 13 (2019), Section 9.2.6:
1. Room dedicated to electrical equipment only.
2. Dry-type equipment, or liquid-type with listed K-class fluid.
3. 2-hour fire-rated enclosure, with protected penetrations.
4. No storage permitted — of any kind.
Miss one condition → the exception doesn't apply.
Note: 2019 tightened this. Earlier editions allowed non-combustible storage, and K-class liquid equipment wasn't an option.
Always confirm with the AHJ — local codes may still require sprinklers.
Electrical Room ≠ Automatically Sprinkler-Free.
These notes are for design discussion. Always apply the code edition adopted for your project and confirm with the AHJ.