Abstract: A lamp socket comprised of a socket shell, a socket body fitted into a socket shell to hold a lamp bulb, and a mounting device fastened to the socket shell to hold the electric wire of a light string, wherein the socket shell has stop blocks to stop the socket body from rotary motion relative to the socket shell; the mounting device has bottom blocks pressed on the electric wire against the socket shell; the socket body has two opposite projecting strips inserted through holes on the socket shell and respectively bent inward to hold down the electric wire.