In this work we show how to indroduce the magnetic field in hadronic matter in a thermodynamically consistent way. We revisit the literature and show that several common results that are derived magnetic field on hadronic matter are thermodynamically inconsistent and that affects the mass-radius results.
Utilizing the so called choatic magnetic field [1,2,3,4] we show that a thermodynamically consistent way is possible and give us more reliable results.
 Ya. B. Zel’dovich, I. D. Nivikov it Stars and Relativity, Dover, New York (1996)
 C. W. Misner, Kip S. Thorne, J. A. Wheeler Gravitation, Freeman and Company, San Francisco (1973)
 L. Lopes, D. Menezes, JCAP 08 (2015) 002
 L. Lopes, D. Menezes, Eur. Phys. J. A, 52 2 (2016) 17