The brake light switch is found behind the 1998 VW Beetles brake pedal. Reach it by removing the lower dash console to gain access to the nut holding the switch in place. Remove the nut then then the switch.
see link
It is threaded into the master cylinder. If you can't reach from under, remove the fuel tank to expose the master cylinder and brake light switch.
its like changing a light bulb and depends on the car model 2007 volkswagen beetle
brake switch
The problem is a faulty brake light switch and there is a recall for that concern. Contact your nearest VW Dealer for more information.
At the end of the master cylinder. Probably the easiest way to gain accesss would be to remove the gas tank.
Its under the motor
In a Classic Beetle, it's screwed into the master cylinder. New Beetles will have it in the vicinity of the brake pedal lever.
Don't bother. The brake light switch on 1999 beetles (maybe all of them, actually) have been recalled. Unless you get it changed, the brake lights will keep going out. Call your local dealer and they should change it for free, mine did about 8 months ago. Still, this doesn't seem to fix the problem as my brake light is out. It may only be a burned out bulb though.
The hood release lever on a 2000 Volkswagen Beetle is located to the left of the brake pedal, near the door. It resembles a handle which is pulled toward the rear of the vehicle to release.
Shorted wire to ground or failed brake switch.
The Chevrolet Colorado brake light switch is quite simple to change. The brake light switch simply plugs in and out.