4 times for the written, but there were outside factors. I had my permitt off and on for a couple years, but I kept forgetting to renew it ontime, so I had to retake the test.
2 times for the road test. the first time, my instructor was a total jerk -- failed me for not waiting long enough at the stop signs (I waited the standard 3-5 seconds), and for being too far away from the curb when I finished my parallel park (I was about a foot away from the curb). second road test was with a much nicer instructor, though, and went flawlessly, despite taking place in the middle of one of the worst storms that summer