It is an object of the present invention to provide a pharmaceutical composition containing a stable azole-based compound, which is useful as an antifungal agent. According to the present invention, the above-mentioned object can be achieved by adding magnesium hydroxide carbonate, triethylamine, arginine, or another such basic substance to an azole-based compound that is unstable in acids. The above-mentioned pharmaceutical composition is stable enough that the compound will not degrade if the temperature, humidity, or other such conditions should change during production or storage. Also, this composition is useful as a therapeutic agent for deep mycoses because systemic administration is possible by applying it to an oral agent or an injection.