Ab initio study of the influence of nanoscale doping inhomogeneities in the phase separated state of La
1−xCa
xMnO
3Using ab initio supercell calculations, this work shows that in La$_{1-x}$Ca$_x$MnO$_3$ near the localized-to-itinerant crossover, a phase-separated state with coexisting magnetic orders is not stable. Instead, the ground state is a non-isotropic distribution of chemical dopants, producing hole-rich (more ferromagnetic) and hole-poor (antiferromagnetic) regions at the nanoscale. This chemical inhomogeneity inevitably accompanies and drives magnetic phase separation near the crossover.