  We construct solutions to the SQG equation that fail to conserve the
Hamiltonian while having the maximal allowable regularity for this property to
hold. This result solves the generalized Onsager conjecture on the threshold
regularity for Hamiltonian conservation for SQG.
