We report an indium phosphide nanowire (NW)-induced cavity in a silicon planar photonic crystal (PPC) waveguide to improve the light–NW coupling. The integration of NW shifts the transmission band of the PPC waveguide into the mode gap of the bare waveguide, which gives rise to a microcavity located