Fix Audi A6 Sunroof Motor Gear And Rails Slipping

Today, the battery on our 96 A6 Avant almost died after many weeks not running and the weather was cold. The weak battery some how caused the sunroof switch, gear and rails malfunction. The sunroof was opened all the way, turn the switch to close and it only moved in a little even the motor runs all the way, switch back and forth, tilt, open, close, the sunroof only moved a little, the gear and the rails seemed NOT to catch all the way. I was lucky, the weather was nice and NOT raining because the manual socket was stripped, I couldn’t close with the hex key, I need to remove the motor to see if I can fix the rails or motor gear.

roof     roof cover

Remove all the connected wiring and take out the console, clear from the sunroof.

switch     light

light     console

The motor is secured with 3 torx T25 screws, need to remove them to drop the motor.

motor     T25

I was amazed to see the motor gears filled with dirt and plastic residue from turning the plastic rails, no wonder the gear teeth don’t catch the rails teeth. I used the small wire brush to clean the gear and the plastic rails teeth, where I could see.

gear     rails

clean     gear

I found the wire brush which was much better than this little screw driver , brush all the stuff and gunk off the gear teeth and some of the rails teeth. Plug back the power connector for the motor, screw the motor back in TIGHT (to make sure the gear gone up all the way to mate with the rails), plug the roof switch connector (console) to the motor, tried it out, and voila, it worked at every switch position. Plug all electrical connectors back and check again. The sunroof works great. I believe all Audi cars use the same motors or at least similar set – up, before taking it to the shops or dealers to replace motors, rails, or sunroof, at least tried this first.



  • we took your advice to reset the roof of our Audi A4 – THANK YOU!! unfortunately I can’t find the original site of your help as I took hand-written notes to read in the process 🙂 I just wanted to say a huge thanks as we really needed a cheap solution for the old girl!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.