Types of Doctors: Medical Specialties and What Each Doctor Treats
The types of doctors are defined by medical specialty, and in the United States the 24 member boards of the American Board of Medical Specialties (ABMS) certify doctors in 38 specialties and 90 subspecialties. Doctors fall into two broad groups: primary care doctors, such as family physicians, internists and pediatricians, who provide everyday care, and specialists, such as cardiologists and dermatologists, who focus on one organ system, type of disease or group of patients. Every type of doctor is a physician with an MD or a DO degree and a state medical license.
This guide explains what a medical specialty is, the main types of doctors and what each one treats, the difference between a primary care doctor and a specialist, how specialties are recorded in the NPI Registry, how to check a doctor's specialty and board certification, and how many doctors of each type practice in Texas.
What is a medical specialty?
A medical specialty is a branch of medicine in which a doctor completes residency training after medical school, such as internal medicine, pediatrics, dermatology or psychiatry. A subspecialty is a narrower area that a doctor trains in after the specialty, usually in a fellowship: cardiology, for example, is a subspecialty of internal medicine. A doctor who completes the training can earn board certification by passing the exam of the board that certifies the specialty. Both MDs and DOs can practice every specialty, and the differences between the two degrees are explained in MD vs DO: Two Types of Doctors (Physicians) and How Their Licenses Compare.
What are the main types of doctors?
The main types of doctors are the doctors of the three primary care specialties (family medicine, internal medicine and pediatrics) and specialists such as obstetrician-gynecologists, psychiatrists, cardiologists, neurologists, gastroenterologists, dermatologists, urologists and endocrinologists. The table below shows what each type of doctor treats, how many practice in Texas according to the NPI Registry and the board that certifies the specialty.
| Type of doctor | What they treat | Doctors in Texas | Certifying board |
|---|---|---|---|
| Family physician | Everyday health care for patients of all ages | 11,804 | American Board of Family Medicine |
| Internist (general internal medicine) | Everyday health care and chronic disease in adults | 9,231 | American Board of Internal Medicine |
| Pediatrician (general pediatrics) | Everyday health care for infants, children and teenagers | 5,657 | American Board of Pediatrics |
| Obstetrician-gynecologist (OBGYN) | Pregnancy, childbirth and the female reproductive system | 4,578 | American Board of Obstetrics and Gynecology |
| Psychiatrist | Mental health conditions and substance use disorders | 3,961 | American Board of Psychiatry and Neurology |
| Cardiologist | The heart and blood vessels | 3,032 | American Board of Internal Medicine |
| Neurologist | The brain, spinal cord, nerves and muscles | 1,913 | American Board of Psychiatry and Neurology |
| Gastroenterologist | The digestive tract and the liver | 1,743 | American Board of Internal Medicine |
| Dermatologist | The skin, hair and nails | 1,406 | American Board of Dermatology |
| Urologist | The urinary tract and the male reproductive system | 1,031 | American Board of Urology |
| Endocrinologist | Diabetes, the thyroid and other hormone conditions | 903 | American Board of Internal Medicine |
The Texas counts come from the NPPES data file published on November 9, 2026, and include the subspecialties of each specialist group, such as pediatric cardiologists under cardiologists. The counts for internists and pediatricians include only doctors who list general internal medicine or general pediatrics. Pediatric specialists are certified by the American Board of Pediatrics, and DOs can also be certified by the boards of the American Osteopathic Association.
What is the difference between a primary care doctor and a specialist?
A primary care doctor provides or coordinates a wide range of health care services for a patient, and a specialist focuses on one area of medicine or one group of patients to diagnose, manage, prevent or treat certain conditions, according to HealthCare.gov. Family physicians treat patients of all ages, internists treat adults and pediatricians treat children, and all three handle checkups, common illnesses and long-term conditions. A primary care doctor refers a patient to a specialist when a condition needs specialized tests or treatment, such as a cardiologist for heart failure or a dermatologist for a suspicious mole. Some health plans require that referral before they pay for a specialist visit.
Which specialty guides does WhereToHire publish?
WhereToHire publishes a guide to each of 8 specialties, which explains what the doctor treats, the types of doctors in the specialty, their training and board certification, and how to find one. Each guide links to the doctor lists of six Texas cities:
- OBGYN (Obstetrician-Gynecologist): What They Do and How to Find and Verify One
- Psychiatrist (Mental Health Doctor): What They Treat and How to Find and Verify One
- Cardiologist (Heart Doctor): What They Treat and How to Find and Verify One
- Neurologist (Brain and Nerve Doctor): What They Treat and How to Find and Verify One
- Gastroenterologist (GI Doctor): What They Treat and How to Find and Verify One
- Dermatologist (Skin Doctor): What They Treat and How to Find and Verify One
- Urologist (Urinary Tract Doctor): What They Treat and How to Find and Verify One
- Endocrinologist (Hormone Doctor): What They Treat and How to Find and Verify One
How are doctor specialties classified in the NPI Registry?
In the NPI Registry, a doctor's specialty is recorded as a code from the Health Care Provider Taxonomy, a code set maintained by the National Uniform Claim Committee (NUCC). Each code names a specialty and, where one applies, a subspecialty, such as "Internal Medicine, Cardiovascular Disease" (207RC0000X). A doctor can list several codes and marks one as primary. The taxonomy code is self-reported: the NPI Registry does not check whether a doctor completed training or holds board certification in the specialty that the record lists. How to search the registry is explained in NPI Lookup: Search the NPPES NPI Registry.
How do you check a doctor's specialty and board certification?
To check a doctor's specialty, search the doctor's name in Certification Matters, the free board certification lookup of the ABMS, or with the certifying boards of the American Osteopathic Association for DOs, and confirm the medical license with the state medical board. Board certification shows that the doctor completed training in the specialty and passed the board's exam, but it is voluntary, while a medical license is required to practice. Each state's license lookup is explained in Medical License Lookup: How to Verify a Doctor's License in Any State.
How many doctors of each type are there in Texas?
Texas has 86,982 doctors whose primary taxonomy code in the NPI Registry is a physician specialty and whose practice location is in the state, according to the NPPES data file published on November 9, 2026. Family medicine is the largest single specialty, with 11,804 doctors, followed by general internal medicine (9,231) and general pediatrics (5,657). Among the specialties that WhereToHire covers, OBGYNs (4,578) and psychiatrists (3,961) are the largest groups, and endocrinologists (903) are the smallest. Doctors by city and the Texas Medical Board's rules are covered in Doctors in Texas: Find a Physician and Check Their License.
Is a specialist the same as a subspecialist?
No, a specialist is not the same as a subspecialist: a specialist completed residency training in a specialty, and a subspecialist completed additional fellowship training in a narrower area of that specialty. A general internist is a specialist in internal medicine, and a cardiologist is a subspecialist in internal medicine. In everyday use, both are often called specialists.
Do you need a referral to see a specialist?
Whether you need a referral to see a specialist depends on your health plan. According to HealthCare.gov, many HMO plans and point-of-service (POS) plans require a referral from your primary care doctor before you see a specialist, and the plan may not pay for the visit without one, while PPO plans generally let you see specialists without a referral. Check your plan documents or call your insurer before you book. How to find and check a doctor is explained in Find a Doctor (Physician) in the United States.
Sources
- American Board of Medical Specialties: Specialty and Subspecialty Certificates
- ABMS: Certification Matters and American Osteopathic Association: Certification
- HealthCare.gov: Primary Care Physician, Specialist, Referral and Health Insurance Plan & Network Types
- National Uniform Claim Committee: Health Care Provider Taxonomy
- CMS: NPPES NPI Registry and the NPPES Data Dissemination file of November 9, 2026 (Texas counts)
