Additionally, according to health-care provider education website Medscape.com, 41 percent of doctors age 40 to 44 are still paying off debt from medical school, and 22 percent of those age 45 to 49 continue making those monthly payments. That drops to 11 percent for those age 50 to 54.
Meanwhile, other health-care careers in CareerCast.com's top 10 list are dentist (No. 5), orthodontist (No. 7) and pharmacist (No. 10).
Read MoreNeed tuition? Ask your boss
Dentists, with a median annual salary of $146,340, typically need a bachelor's degree followed by four years of dental school. Orthodontists earn an annual median salary of $129,110 after a bachelor's degree, dental school and two or three more years of specialized training.
Meanwhile, pharmacists need a bachelor's degree followed by pharmacy school, which typically takes four years to complete. The median salary for pharmacists is just shy of $121,000 per year.