Measuring the concentration and viability of fungal cells is an important and fundamental procedure in scientific research and industrial fermentation. In consideration of the drawbacks of manual cell counting, large quantities of fungal cells require methods that provide easy, objective and reproducible high‐throughput calculations, especially for samples in complicated backgrounds. To answer this challenge, we explored and developed an easy‐to‐use fungal cell counting pipeline that combined the machine learning‐based ilastik tool with the freeware ImageJ, as well as a conventional photomicroscope. Briefly, learning from labels provided by the user, ilastik performs segmentation and classification automatically in batch processing mode and thus discriminates fungal cells from complex backgrounds. The files processed through ilastik can be recognized by ImageJ, which can compute the numeric results with the macro ‘Fungal Cell Counter’. Taking the yeast Cryptococccus deneoformans and the filamentous fungus Pestalotiopsis microspora as examples, we observed that the customizable software algorithm reduced inter‐operator errors significantly and achieved accurate and objective results, while manual counting with a haemocytometer exhibited some errors between repeats and required more time. In summary, a convenient, rapid, reproducible and extremely low‐cost method to count yeast cells and fungal spores is described here, which can be applied to multiple kinds of eucaryotic microorganisms in genetics, cell biology and industrial fermentation.