In the United States, most state attorneys general get the job by winning a partisan, statewide popular election; in the federal government and in a minority of states, the attorney general is instead appointed—by the president with Senate confirmation at the federal level, or by the governor (sometimes with legislative or board involvement) at the state level.

The question contains a built-in ambiguity worth resolving at the outset: “attorney general” can mean the U.S. attorney general, a state attorney general, or the chief legal officer of another jurisdiction (a territory, the District of Columbia, or a foreign country such as England and Wales). The method of selection differs sharply among them. There is also no single continuously updated national tally in this answer, so the safest framing is structural: election is the majority method among the fifty states, appointment is the federal method and the method in a substantial minority of states, and a few jurisdictions use legislative selection. Exact counts shift as states amend constitutions and statutes, so any precise “X of 50” figure should be checked against a current source.

The federal attorney general: appointment, not election

The U.S. attorney general heads the Department of Justice and is a member of the president’s Cabinet. The position is filled by presidential nomination with the advice and consent of the Senate. The attorney general serves at the president’s pleasure and can be removed by the president; the role is not a固定 elected office and has no fixed term independent of the administration. This is the cleanest example of the appointment model: the chief legal officer of the national government is a political appointee, confirmed by the Senate, accountable to the president who chose them.

That structure creates the well-known tension in American law and politics: the attorney general is simultaneously the president’s legal adviser and the head of an agency expected to enforce the law independently. The selection method—appointment by the official who is also a potential subject of investigation—is the institutional root of that tension.

State attorneys general: election is the majority rule

Among the fifty states, the most common method is election by the voters of the state. In these states the attorney general is a constitutional officer, runs on a partisan or nonpartisan ballot depending on the state, serves a fixed term (commonly four years, though terms vary), and is accountable to the electorate rather than to the governor. Because the attorney general is separately elected, the officeholder can belong to a different party from the governor—an arrangement that produces the familiar “divided” state executive, in which a Republican governor and a Democratic attorney general, or the reverse, serve simultaneously and sometimes clash over litigation, settlements, and legal positions.

The practical consequences of the elected model are significant:

Independent political base. An elected attorney general builds a statewide constituency, raises campaign funds, and can use the office as a platform for higher office (governorships, Senate seats, and presidential runs have all drawn from this pool). Independent legal posture. The attorney general may join multistate lawsuits, file amicus briefs, or refuse to defend a state law the governor supports, subject to state law and the attorney general’s own legal duties. Electoral accountability. Voters can remove an attorney general through the ballot, and the office is covered by campaign-finance and ethics rules applicable to elected officials. Partisan stakes. Because the office controls statewide litigation and consumer-protection enforcement, elections for attorney general are often heavily contested and nationally funded.

State attorneys general: appointment and legislative selection

In a substantial minority of states, the attorney general is appointed rather than elected. The most common appointing authority is the governor, sometimes with confirmation by the state senate or another body. In a few states the attorney general is chosen by the state legislature, by the state supreme court, or by a board or commission. These arrangements tend to concentrate legal authority in the governor’s hands and reduce the independent electoral base of the office; they also change the accountability structure, since the attorney general answers to the appointing authority rather than directly to voters.

The distinction matters for how the office behaves. An appointed attorney general is more likely to align with the governor’s legal priorities and less likely to litigate against the governor’s administration. A legislatively selected attorney general may be more responsive to legislative leadership. An elected attorney general, by contrast, has an independent mandate and can credibly claim a separate democratic mandate from the governor’s.

A useful counterexample to the “elected is normal” intuition: in states where the attorney general is appointed, the office is often treated as a professional legal role rather than a political stepping-stone, and the selection process emphasizes legal credentials and executive compatibility rather than statewide campaigning. Neither model is inherently “more democratic” in a simple sense—each trades off independence against coordination.

Other U.S. jurisdictions: territories and the District of Columbia

The pattern extends beyond the fifty states, with local variation:

The District of Columbia has an attorney general chosen by election, a change that took effect after a period in which the position was appointed. The exact current rule should be checked against D.C. law, because the selection method has been a subject of local legislation and debate. U.S. territories (such as Puerto Rico, Guam, the U.S. Virgin Islands, and American Samoa) generally appoint their attorneys general, often by the governor with legislative confirmation, though the details differ by territory and are set by territorial law and, in some cases, federal organic statutes. These jurisdictions are frequently omitted from “state attorneys general” tallies, which is one reason precise national counts vary between sources.

Why the election model dominates in the states

The elected-attorney-general model is a legacy of Jacksonian-era democratization, when many states moved to elect a broad slate of executive officers—governor, lieutenant governor, secretary of state, treasurer, auditor, and attorney general—rather than letting the legislature or governor appoint them. The idea was to diffuse executive power and make each officer directly accountable to voters. Not every state followed, and some states that once elected the office later changed methods or vice versa; the result is the patchwork that exists today.

The model also reflects a substantive judgment about legal independence: if the attorney general is the state’s chief lawyer and chief law-enforcement officer, electing that officer separately from the governor creates a check within the executive branch itself. Critics argue it can produce legal incoherence when the governor and attorney general disagree; defenders argue that disagreement is the point—it prevents any single official from controlling both the policy agenda and the state’s legal enforcement power.

The “most” answer in one sentence, with its limits

If the question is about state attorneys general in the United States, the answer is that most are elected statewide by the voters, with appointment by the governor (and, in a few states, legislative or other selection) as the main alternative; if the question is about the U.S. attorney general, the answer is presidential appointment with Senate confirmation. The word “most” is doing different work in each frame, which is why the jurisdiction must be specified before a precise count is asserted.

How the selection method shapes the job

The method of getting the job is not just a procedural detail; it shapes what the attorney general does and whom the office serves.

Elected attorneys general tend to:

Maintain a public political profile and communicate directly with voters. Participate in national partisan networks, such as the national associations of Democratic and Republican attorneys general. Join multistate litigation as a way to raise their profile and influence national policy. Face electoral incentives that can conflict with the governor’s preferences.

Appointed attorneys general tend to:

Operate more closely within the governor’s policy and legal strategy. Be selected for legal and managerial credentials rather than campaign viability. Have less independent electoral accountability and more dependence on the appointing authority. Face different removal rules—often serving at the governor’s pleasure rather than for a fixed term.

Legislatively selected attorneys general tend to:

Reflect the balance of power in the legislature. Be more responsive to legislative priorities and oversight. Have a different accountability chain than either elected or governor-appointed officers.

These are tendencies, not rules; individual officeholders vary widely within each model.

Common misconceptions and points of confusion

“The attorney general is always elected.” False. The federal attorney general is appointed, and several states appoint or legislatively select theirs.

“The governor chooses the attorney general everywhere.” False. In most states the voters choose, and the governor has no appointment power over the office.

“Elected means nonpartisan.” Not necessarily. Many states hold partisan attorney general elections; some hold nonpartisan elections; the ballot label varies by state.

“The attorney general works for the governor.” Only in the sense of shared executive branch; an independently elected attorney general is not the governor’s subordinate and may litigate against the governor’s administration.

“The count is fixed.” Selection methods can change through constitutional amendment, statute, or referendum, and counts differ depending on whether territories and the District of Columbia are included. Any specific “X of 50” figure should be verified against a current, jurisdiction-specific source rather than treated as permanent.

What is answerable without a current tally

The structural answer is stable and does not depend on the exact count: election is the majority method among the states; appointment (presidential with Senate confirmation) is the federal method; appointment by governor or legislature is the minority state method; and territories and the District of Columbia add further variation. The precise number of elected versus appointed state attorneys general, and the exact list of which states use which method, is the part that requires a current reference and is not asserted here as a fixed figure.

The question’s phrasing—“how do most attorney generals get the job”—is best read as asking about the typical path into the office. The typical path, in the American state context, is a statewide election campaign: filing for office, raising money, winning a primary and general election, and taking office as a constitutional officer with a fixed term. The typical path at the federal level is nomination by the president and confirmation by the Senate. Both are “how most get the job” depending on which level the question means—and that ambiguity is the first thing to resolve.