We have carried out uniaxial compression of micron-scale amorphous silica pillars. We have measured load–displacement curves and observed the morphology of the pillars after unloading, providing strong evidence for large plastic deformations. Minor cracking is also observed, with a well-defined pattern. We find that the van Mises stress in compression is comparable to the intrinsic tensile strength of silica. Precise analysis of the deformation of the pillars has been carried out by finite element modeling (FEM) using the constitutive equation determined previously (G. Kermouche et al., Acta Materialia, 56 (2008) 3222), which quantitatively takes into account densification, shear flow and strain hardening. The residual stress distribution we predict by FEM matches the observed crack pattern well. Finally the calculated stress fields in pillar compression and cone indentation are compared. We propose an interpretation of the contrasts in terms of confinement.