A novel surface plasmon resonance sensor based on a D-shaped, all-glass, endless single mode photonic crystal fiber is experimentally demonstrated in this paper, which provides a new approach to realizing a high-performance photonic crystal fiber surface plasmon resonance sensor.In order to achieve the best performance, the side-polished position of the D-shaped photonic crystal fiber is theoretically and experimentally obtained.