To assess the effect of soil heterogeneity and spatial variability of soil parameters on foundation reliability, the spatial variability of soil parameters is analyzed based on the random field theory of the centroid discretization method, and Matlab is used to generate 500 sets of random fields for each soil parameter, considering the variability. On this basis, the parametric random field of the foundation model is simulated with the help of Duncan-Chang E-B intrinsic model to investigate the bearing capacity, deformation characteristics and reliability of the random field foundation under different natural densities. In addition, a reinforced shear composite model is used to simulate the random field of geocell-reinforced foundation parameters and compared with the random field foundation model. The results show that the random field model can provide a wider range of foundation bearing capacity than the traditional deterministic finite element analysis. The distribution of ultimate bearing capacity factors with and without reinforced foundations obey normal distribution, and the distribution of foundation bearing capacity factors is wider at higher natural densities. Additionally, the settlement of geocell-reinforced foundations is slightly smaller than that of unreinforced foundations, and the geocell-reinforcement can reduce the settlement of foundations in a small amount. The effective probability pe of geocell-reinforced foundation increases significantly with the increase of safety factor Fs, and the change trend is consistent with that of unreinforced foundation, when Fs is 1.4, the pe of both is greater than 95%, and the safety is greatly improved.