Boney Family Lawyer
Administrative & Gov LawAttorney Authored & Peer-Reviewed

Do Lawyers Work for the Government? A Clear Guide to Government Attorneys

Discover how government attorneys serve public agencies, their roles, hiring processes, and key differences from private-sector lawyers.

SME
Senior Employment Counsel
Peer Reviewed by Elena Rostova, LL.M.
Published on September 19, 2026 at 10:01 PM 9 min read

Overview Yes, lawyers work for the government at federal, state, and local levels. Government attorneys—also called public-sector lawyers—represent agencies, enforce laws, and advise officials on legal matters, distinct from private practice in pay, mission, and hiring processes.

Government attorneys operate within a structured statutory framework governed by the U.S. Constitution, the Administrative Procedure Act (APA), and agency-specific enabling statutes. Their roles span litigation, policy drafting, compliance oversight, and public defense, making them essential to democratic governance and the rule of law.


Statutory & Regulatory Framework

Government attorneys derive authority from multiple legal sources:

Federal Level

  • U.S. Constitution: Article II and VI establish the executive branch’s legal obligations, including the Department of Justice (DOJ).
  • Administrative Procedure Act (APA), 5 U.S.C. § 551 et seq.: Governs agency rulemaking and adjudication, requiring legal review by government attorneys.
  • 28 U.S.C. § 503: Authorizes the Attorney General to appoint U.S. Attorneys in each federal judicial district.
  • Ethics in Government Act, 5 U.S.C. App. 4 § 101: Sets financial disclosure and conflict-of-interest rules for federal employees, including attorneys.

Key Agencies:

  • Department of Justice (DOJ): Employs over 10,000 attorneys in divisions like Civil Rights, Antitrust, and Criminal.
  • Securities and Exchange Commission (SEC): Enforces securities laws through its Division of Enforcement.
  • Environmental Protection Agency (EPA): Uses attorneys to litigate environmental violations under the Clean Air Act and Clean Water Act.

State Level

Each state has its own constitution, attorney general statutes, and judicial codes. For example:
  • California Government Code § 12500: Establishes the Office of the Attorney General.
  • New York Executive Law § 63: Defines the powers of the state attorney general.
  • Texas Government Code § 402.021: Outlines the attorney general’s authority to represent state agencies.

State attorneys general (AGs) lead legal teams that handle consumer protection, Medicaid fraud, and criminal appeals. They also file lawsuits against the federal government on behalf of state interests.

Local Level

Counties and municipalities employ attorneys as city solicitors, county counsels, or municipal prosecutors. Their authority comes from:
  • Local charters and ordinances
  • State municipal codes (e.g., California Government Code § 27640)
  • Home rule provisions allowing local legal autonomy

For example, the San Francisco City Attorney represents the city in land use, labor disputes, and civil rights litigation.


Roles and Responsibilities of Government Attorneys

Government attorneys perform diverse functions depending on their agency and level of government:

RoleAgency ExampleKey Responsibilities
ProsecutorU.S. Attorney’s OfficeProsecute federal crimes (e.g., drug trafficking, cybercrime, public corruption).
Public DefenderFederal Public DefenderRepresent indigent defendants in federal court under the Sixth Amendment.
Regulatory CounselSEC, FDA, EPADraft and enforce regulations; litigate violations.
General CounselState AG’s OfficeAdvise governors, legislatures, and agencies on constitutional and statutory compliance.
City AttorneyMunicipal Law DepartmentHandle zoning, contracts, and civil litigation for local governments.
Legislative CounselU.S. House or SenateDraft bills, analyze legal impact, and advise committees.

Key Distinction: Unlike private attorneys, government lawyers do not represent individual clients. They serve the public interest, enforce laws, and defend government actions—even when unpopular.


How to Become a Government Attorney: Step-by-Step Process

1. Earn a Juris Doctor (JD) Degree

  • Graduate from an ABA-accredited law school.
  • Maintain a strong GPA (top 25% preferred for competitive federal roles).

2. Pass the Bar Exam

  • Pass the bar in at least one U.S. jurisdiction.
  • Some federal positions (e.g., DOJ Honors Program) require bar admission before hiring.

3. Gain Relevant Experience

  • Internships: Work at U.S. Attorney’s Offices, state AG offices, or public defender agencies.
  • Clinics: Participate in law school clinics (e.g., immigration, environmental, criminal defense).
  • Post-Graduate Fellowships: Apply for programs like the DOJ Attorney General’s Honors Program or Skadden Fellowship for public interest work.

4. Apply for Government Positions

  • Federal Jobs: Use USAJOBS.gov. Search for “attorney” or “counsel” under the GS-0905 job series.
  • State Jobs: Check state government career portals (e.g., CalCareers.ca.gov).
  • Local Jobs: Visit city or county websites (e.g., NYC.gov/careers).

Key Forms & Documents:

  • SF-86: Required for security clearance (federal positions).
  • OF-306: Declaration for Federal Employment.
  • Writing Sample: Often required (e.g., memo, brief, or policy analysis).
  • Transcripts: Unofficial copies accepted initially; official required upon hire.

5. Complete Security Clearance (Federal Only)

  • Levels: Confidential, Secret, or Top Secret (depending on agency).
  • Process: Background check, fingerprinting, and interview.
  • Timeline: 3–12 months.

6. Onboarding & Training

  • Federal: Attend orientation at the Federal Law Enforcement Training Center (FLETC) or agency-specific programs.
  • State/Local: Complete ethics training and agency-specific onboarding.

Typical Hiring Timeline:

  • Federal: 6–12 months (due to security clearance).
  • State/Local: 3–6 months.


Salary and Benefits: Government vs. Private Sector

FactorGovernment AttorneyPrivate Attorney
Salary (Entry-Level)$60,000–$90,000 (GS-11 to GS-13)$120,000–$215,000 (BigLaw)
Salary (Senior)$120,000–$170,000 (GS-15 or SES)$300,000–$1M+ (Partner)
BonusesRare (except for performance awards)Common (billable hours, origination)
BenefitsFederal Employees Retirement System (FERS), TSP, health insurance, student loan repayment (up to $60,000)401(k) match, health insurance, bonuses
Work-Life Balance40-hour weeks, predictable schedules60–80+ hour weeks, high stress
Job SecurityHigh (tenure protections, unionized roles)Moderate (subject to market fluctuations)

Note: Some government attorneys qualify for Public Service Loan Forgiveness (PSLF) after 10 years of service.


Common Pitfalls, Exceptions, and Penalties

Compliance Mistakes

  1. Conflict of Interest: Government attorneys cannot represent private clients in matters related to their official duties. Violations can lead to disciplinary action under 5 C.F.R. § 2635.
  2. Ex Parte Communications: Prosecutors and judges must avoid improper communications with parties. Violations can result in case dismissal or sanctions.
  3. Failure to Disclose: Omitting financial interests or prior legal work can trigger investigations by the Office of Government Ethics (OGE).
  4. Political Activity: Federal employees (including attorneys) are restricted under the Hatch Act from engaging in partisan political activity while on duty.

Exceptions

  • Prosecutorial Discretion: U.S. Attorneys and state AGs can decline to prosecute cases without legal consequence (e.g., marijuana enforcement in legal states).
  • Sovereign Immunity: Government attorneys cannot be sued for actions taken within the scope of their official duties (under the Federal Tort Claims Act, 28 U.S.C. § 2671).
  • Qualified Immunity: Applies to law enforcement attorneys in civil rights cases, though this is a contested legal doctrine.

Penalties for Violations

  • Federal: Termination, debarment from federal employment, or criminal charges (e.g., 18 U.S.C. § 208 for financial conflicts).
  • State: Disbarment, fines, or removal from office (e.g., California Business and Professions Code § 6106).
  • Local: Termination, ethics violations, or civil lawsuits.

Federal vs. State vs. Local Government Attorneys: Key Differences

FactorFederalStateLocal
Hiring AgencyDOJ, SEC, EPA, etc.State Attorney General’s OfficeCity/County Law Department
JurisdictionFederal crimes, interstate commerceState crimes, consumer protectionMunicipal codes, zoning, contracts
Salary Range$60K–$170K$50K–$150K$50K–$120K
Security ClearanceRequired (Secret or Top Secret)Rarely requiredNot required
Typical CasesDrug trafficking, white-collar crimeMedicaid fraud, environmental lawLand use, civil litigation
Bar AdmissionAny U.S. jurisdictionState-specificState-specific

## Frequently Asked Questions (FAQs)

Can a government attorney represent me in court?

No. Government attorneys represent agencies, not individuals. If you need legal help, contact a private attorney or a legal aid organization. Public defenders only represent indigent criminal defendants.

What happens if a government attorney makes a mistake?

Government attorneys are protected by sovereign immunity for actions within their official duties. However, gross negligence or intentional misconduct can lead to internal discipline, disbarment, or (rarely) civil liability under the Federal Tort Claims Act.

How long does it take to get hired as a federal government attorney?

6–12 months. The process includes:
  1. Application review (1–3 months).
  2. Interview and selection (1–2 months).
  3. Security clearance (3–6 months).
  4. Onboarding (1 month).

Do government attorneys get student loan forgiveness?

Yes, if they work for a qualifying employer (e.g., DOJ, state AG, public defender). After 120 qualifying payments (10 years), remaining federal student loans can be forgiven under Public Service Loan Forgiveness (PSLF).

Can government attorneys work part-time or remotely?

  • Federal: Rare. Most positions require full-time, in-office work, though some agencies (e.g., SEC) offer hybrid schedules.
  • State/Local: More flexible. Some roles allow part-time or remote work, especially in policy or advisory positions.

What’s the difference between a U.S. Attorney and a state attorney general?

  • U.S. Attorney: Federal prosecutor appointed by the President to handle federal crimes in a specific district.
  • State Attorney General: Elected or appointed official who represents the state in civil and criminal matters, advises the governor, and enforces state laws.

Practical Next Steps & Checklist

Action Plan to Become a Government Attorney

  1. Research Roles: Identify which level (federal, state, local) and agency align with your interests.
  2. Gain Experience: Complete internships, clinics, or fellowships in public-sector law.
  3. Prepare Documents: Draft a resume, writing sample, and cover letter tailored to government jobs.
  4. Apply Strategically: Use USAJOBS.gov for federal roles; check state and local career portals.
  5. Prepare for Interviews: Practice behavioral questions (e.g., “Describe a time you handled an ethical dilemma”).
  6. Complete Clearance: If applying for federal roles, gather references and financial records for SF-86.

Official Contact Portals

AgencyWebsitePhone
U.S. Department of Justicewww.justice.gov/careers(202) 514-2000
USAJOBSwww.usajobs.gov(844) 872-4681
Office of Government Ethicswww.oge.gov(202) 482-9300
State Attorney General Officeswww.naag.orgVaries by state
Public Defender Officeswww.nlada.orgVaries by jurisdiction

Disclaimer: This article is for informational and educational purposes only. It does not constitute formal legal advice and does not establish an attorney-client relationship.

Key Statutory Takeaways

  • Contemporaneous written records are crucial for establishing statutory liability.
  • Filing deadlines (statute of limitations) apply strictly from the date of infraction.
  • Administrative remedies (EEOC/FEPA) must precede federal civil filings.
SME

Sarah Mitchell, Esq.

Verified Author

Senior Employment Counsel

Admitted to the State Bar of New York. Specializes in FLSA compliance, wage dispute litigation, and EEOC defense with over 14 years of courtroom experience.

Mandatory Legal & Editorial DisclaimerThe content provided on Boney Family Lawyer is for educational and informational purposes only and does not constitute formal legal advice, representation, or an attorney-client relationship. State laws vary; consult a licensed attorney in your jurisdiction regarding specific legal issues.