Recently, the scanning transmission electron microscope-moiré fringe (SMF) method has attracted much interest because of its precise estimation of the local strain distribution of strained semiconducting devices. In this study, by SMF method, we found that the strain was not uniformly distributed in the InxGa1-xAs layer when it was sandwiched between two InP layers. The most notable point is that the In0.53Ga0.47As layer showed compressive strain at the interface with the InP buffer layer, and showed tensile strain at the interface with InP cap layer even though both InP and In0.53Ga0.47As had the same lattice constant.