Do female candidates give up running for office after losing more readily than their male counter-parts? I address this question by employing a regression discontinuity between last winners and first losers in city council elections in Brazil. The results show that losing an election diminishes the chances of running again for both genders. However, the effect is large for women. I offer an explanation for this gender gap in rerunning by developing a model based on the distribution of campaign financial resources among candidates. I argue that female candidates receive fewer financial resources from donors and their political parties than male candidates. Consequently, to run for office, women often need to use more of their own money. This leads to a faster depletion of their personal financial resources and, ultimately, a greater likelihood of them dropping out of politics. The argument is supported by evidence on campaign financing for the same period.