Spray lubricant in each door latch, open and close til light goes off. Had same problem for months and found solution on another forum.
The door ajar switch is part of the door latch.
The door ajar sensor, on a 2005 Ford escape, is located inside the door panel behind the door lock. There is a sensor on each door.
electronic module
The door ajar switch is part of the latch, inside the door.
On my 2002 sportage 2-door, the door ajar light stays on when the tailgate is not locked. with the key.
The door ajar switches are inside the doors mounted on the backside of the door latches
Fuses are illustrated and detailed in the Owners Manual.Also, there is a very common problem with false door ajar sensor warnings on the Taurus-Sables.See "Related Questions" below for pages of helpful information on finding online Owners Manuals and how to fix those pesky door ajar problems.
Neon door sensor is located in the door latch. The closed door creates a complete circuit through a ground wire. The completed circuit shuts the light off.
The sensor you are looking for is an integral part of the door latch.
If the lights that won't go off are the interior lights, then it could be a symptom of a stuck 'door ajar' switch/sensor. In that case, see "Related Questions" below for more discussion, fixes, and permanent repairs on the door ajar problem.
Inside the door under the latch.
The sensor is part of the door latch. You would have to remove the door pne and unplug the latch.