Without doing a "hands on" troubleshooting of your vehicle, no one can tell you what defect is causing your problem. Therefore this answer will of necessity be of a generic nature.
Usually this type of problem is caused by what is called an "open circuit" condition.
Open circuits can be caused by several things, a few of which I can recall now:
In your case since all lights were lost at once, it suggests that the first and last items in the list above are the most likely cause of the failure.
The "proper fix" is for someone who knows what he or she is doing to troubleshoot the nonfunctional circuit, find and identify the problem, and properly repair it.
dodge 2001 Dakota brake lights won't burn Check the fuses. If the fuses are okay check the brake light switch.
You probably have a faulty brake light switch
A bad brake light switch or a bad headlight switch, or the power source of the fuse has a problem or break in the wire (circuit).
Bad bulbs or brake light switch.
Brake light switch ?
check your fuses and the brake light switch above the pedal
I'm not a mechanic / technician but if all ( 3 ) brake lights don't work ( assuming you have a 3rd higher mount brake light and all the bulbs and fuses are fine ) then it would be a problem with your brake light switch ( and also I BELIEVE if all the outside brake lights stay on )
yes my brake lights dont work First check the fuses, then check the bulbs then check the brake light switch
Check fuses first but its probably the brake light switch under the brake pedal.
check fuses, check brake light switch behind brake pedal.
Most likely the problem is faulty brake light switch.
Check the brake light switch first. It is usually near the brake pedal under the dash. A bad turn signal switch can also cause this if the brake lights are also turn signal lights. If the brake lights are independent of the turn signals then disregard the switch problem. A good wiring diagram will help to diagnose the problem also. Check with dealership mechanics as they have access to diagrams.