A vehicle is provided with a trailer hitch, a camera oriented to capture images of the trailer hitch, and a controller processing the captured images, detecting a trailer coupler coupled to the trailer hitch, determining a locked or unlocked state of the hitch coupler by comparing the captured images to known trailer coupler images, and generating an output indicative of the determined state of the trailer coupler.