Statistical analysis of porosity and permeability of Xujiahe Formation are provided. Porosity and permeability can be fitted by the Weibull distribution. Influence of heterogeneity on liquid invasion depends primarily on permeability heterogeneity. Liquid invasion depth and invasion rate increase with decreases in permeability homogeneity coefficient.