One of the major goals of the HADES experiment is the measurements of spectra of dileptons originating from dense nuclear matter.
The normalization of these spectra is given by the $\pi^0$ yield dominating the low mass region (M<0.14 GeV$/c^2$).
Another reason to study yield of $\pi^0$-mesons is a unique possibility to measure and compare all three isospin components of pion triplet in the same experiment.
In this work the preliminary results of measurements of $\pi^0$ production at $\sqrt{s_{NN}} = 2.42$ GeV energy are presented.
The results are obtained for the reaction Ag+Ag in the HADES experiment at 1.23 A GeV beam energy.
The yields of $\pi^0$ were measured via $\pi^0\rightarrow\gamma\gamma$ decay in the acceptance of the ECal detector.
The ECal covers the $\pi^0$ acceptance range $0 < p_t < 1$ GeV/c and $0.16 < y_{cm} < 1.16$.
The acceptance and efficiency corrections are applied.
Preliminary results on inclusive $\pi^0$ multiplicity per participant is compared with the available world data.