It can take up to 7 years to become a prosecuting lawyer. After law school, you must complete a bar exam and then complete an internship or apprenticeship with a prosecutor's office.