From the city councillor to the president, from your local judge to the Supreme Court: a map of who does what, how each one gets the job and where offices with similar names differ.
Rules in force in November 2026, under the Federal Constitution and electoral law.
Brazil is a federation: power is shared between the whole country, the states and the cities. Each level has its own government, laws and taxes, and none is the "boss" of another — each rules over what the Constitution gave it.
Union (federal) 1 country
President of the Republic
Handles what applies to the whole country: currency, defence, foreign relations, criminal and civil law.
States 26 states + the Federal District
Governor
Handles public security, secondary school, state highways and regional hospitals.
Municipalities About 5,570 cities
Mayor (prefeito)
Handles what is closest to you: streets, buses, rubbish collection, health clinics, nurseries and primary school.
Three branches at each level
At each level, power is split into three functions so that no one holds it all. The Constitution says they are independent and in harmony with one another.
Executive
Manages public money, provides services and puts laws into practice.
Legislative
Creates and changes laws, approves the budget and oversees the Executive.
Judiciary
Settles disputes by applying the law and decides whether laws respect the Constitution.
ExecutiveGoverns and carries out
LegislativeMakes laws and oversees
JudiciaryJudges
Federal
Executive
President and vice-president
Ministers
elected · appointed
Legislative
National Congress
Chamber of Deputies: 513
Federal Senate: 81
elected
Judiciary
STF, STJ, TST, TSE, STM
Federal, labour, electoral and military courts and judges
exam or appointment
State
Executive
Governor and vice-governor
State secretaries
elected · appointed
Legislative
Legislative Assembly
State deputies: 24 to 94
elected
Judiciary
Court of Justice (TJ)
Local judges in each judicial district
exam or appointment
Municipal
Executive
Mayor and vice-mayor
Municipal secretaries
elected · appointed
Legislative
City Council (Câmara Municipal)
Councillors: 9 to 55
elected
Judiciary
There is no municipal Judiciary. Cases in the city are heard by the state courts (in the local district) and by the federal courts.
Who is not elected: ministers and secretaries are chosen by the head of the Executive and can be replaced at any time. Judges join through a public exam; justices of the higher courts are nominated by the president and approved by the Senate.
How each one is chosen
Voting is compulsory from 18 to 70 and optional at 16 and 17, over 70 and for those who cannot read. There are two elections, alternating every two years, always on the first Sunday of October (the runoff is on the last Sunday of the month).
The calendar
2022
2024
2026
2028
2030
2032
General election: president, governor, senator, federal deputy and state deputy
Municipal election: mayor and councillor
Three ways of counting votes
Absolute majority, with runoff
The winner needs more than half of the valid votes. If no one gets there, the top two face a second round.
President, governor and mayor of a city with more than 200,000 voters.
Simple majority, single round
Whoever gets the most votes wins, even without passing half.
Senator and mayor of a city with up to 200,000 voters.
Proportional
First, the seats each party (or party federation) won are counted by adding the votes of all its candidates and of the party itself. Then the party's seats go to its most-voted candidates. That is why someone can be elected with fewer votes than another candidate who was left out.
Federal deputy, state or district deputy and city councillor.
Elected offices side by side
Office
Level
Term
Minimum age
System
Re-election
President and vice
Federal
4 years
35
Absolute majority
Once in a row
Senator
Federal
8 years
35
Simple majority
No limit
Federal deputy
Federal
4 years
21
Proportional
No limit
Governor and vice
State
4 years
30
Absolute majority
Once in a row
State or district deputy
State
4 years
21
Proportional
No limit
Mayor and vice
Municipal
4 years
21
Absolute or simple majority
Once in a row
City councillor
Municipal
4 years
18
Proportional
No limit
The vice is elected on the same ticket: a vote for the head is a vote for the vice.
The Senate is renewed in turns: one general election picks one senator per state (a third of the house), the next one picks two (two thirds). In 2026 it was two per state.
Each senator is elected with two substitutes, who take over if the senator leaves.
To run, one must be Brazilian, belong to a party and live where the election is held. Independent candidacies are not allowed.
City councillor, state deputy, federal deputy and senator
All four make laws and oversee the government. What changes is the size of the territory, the kind of law and whom each one represents.
Why are there two houses in Congress?
In the Chamber, each state's weight depends on its population; in the Senate, all are equal. A federal law has to pass both, balancing the will of most people with that of the states.
São Paulo
Federal deputies: 70
Senators: 3
Roraima
Federal deputies: 8
Senators: 3
City councillor (vereador)
Municipal
Works at
The City Council
How many
9 to 55 per city, by population
Term
4 years
Protection
Cannot be punished for what is said in office, within the municipality
Makes city laws: master plan, zoning, property and service taxes, local transport rules
Approves the city budget
Oversees the mayor and can remove them from office
State deputy (deputado estadual)
State
Works at
The Legislative Assembly (in the Federal District, the Legislative Chamber, with district deputies)
How many
24 to 94 per state
Term
4 years
Protection
The same rules as federal deputies, applied in the state
Makes state laws and the state constitution
Approves the state budget and rules for state taxes such as ICMS and IPVA
Oversees the governor and opens state inquiries
Federal deputy (deputado federal)
Federal
Works at
The Chamber of Deputies
How many
513, split by population: 8 to 70 per state
Term
4 years
Represents
The people: a more populous state has more deputies
Makes nationwide laws together with the Senate: criminal, civil, labour, traffic, federal taxes
Bills from the president, the Supreme Court and citizens start here
Authorises impeachment proceedings against the president (two thirds of the votes)
Senator
Federal
Works at
The Federal Senate
How many
81: three per state and three for the Federal District, regardless of population
Term
8 years
Represents
The states, with equal weight
Makes national laws with the Chamber, reviewing what comes from it
Approves the president's nominees: Supreme Court justices, prosecutor-general, Central Bank directors, ambassadors
Tries the president in impeachment
Authorises foreign loans for states and cities
Mayor, governor and president
All three head the Executive at their level. They choose their team, execute the budget, sign or veto the laws passed by the Legislative and answer for the administration.
Mayor (prefeito)
Municipal
Team
Municipal secretaries
Minimum age
21
Ordinary crimes
Tried by the state Court of Justice
Removal for political-administrative offences
Decided by the City Council
Looks after streets, transport, rubbish, lighting, nurseries, primary schools and health clinics
Collects property tax (IPTU) and service tax (ISS)
Can veto laws passed by the council
Governor
State
Team
State secretaries
Minimum age
30
Ordinary crimes
Tried by the Superior Court of Justice (STJ)
Impeachable offences
The Assembly authorises; a mixed court of five state deputies and five appeals judges decides
Commands the Military and Civil police and the prisons
Looks after secondary school, state highways and regional hospitals
Collects ICMS and the vehicle tax (IPVA)
President
Federal
Team
Ministers of State
Minimum age
35, and Brazilian-born
Ordinary crimes
Tried by the Supreme Court, if the Chamber authorises
Impeachment
The Chamber authorises, the Senate tries
Is head of state and head of government at once: represents the country abroad and runs the federal administration
Commands the Armed Forces
Can issue provisional measures, which work as law until Congress votes on them
Nominates justices of the Supreme Court and other higher courts
What is and is not allowed
Some rules on holding two posts and running for office that often cause confusion.
Two elected offices at once?
No. No one holds two elected offices at the same time.
Can a deputy become a minister?
Yes. A deputy or senator can become a minister, a state secretary or a secretary of a state capital without losing the seat: they take leave and the substitute takes over. When they leave the post, they return to the house.
Can a councillor keep another public job?
Yes, if the hours are compatible. A mayor, however, must step away from any public job.
Can a mayor run for governor?
Yes, but must resign six months before the election. This applies to presidents, governors and mayors running for another office. To seek re-election, they need not step down.
Can the mayor's relative run in the city?
As a rule, no. Spouses and relatives up to the second degree of the president, governor or mayor cannot run in that territory, unless they already hold office and are seeking re-election.
Can a judge or prosecutor run?
Only after leaving the career. Judges and members of the Public Prosecution cannot take part in party politics.
Judge, appeals judge and justice
The justice system works in steps. Whoever loses can appeal to the step above, up to the Supreme Court, which has the final say on the Constitution.
STF — Supreme Federal Court11 justices
Guards the Constitution. Decides whether laws and acts are constitutional and tries the president, ministers and federal lawmakers for ordinary crimes.
Higher courtsSTJ · TST · TSE · STM — justices
Have the last word in each field: federal law (STJ), labour (TST), elections (TSE) and military crimes (STM).
Second instanceTJ · TRF · TRT · TRE — appeals judges (desembargadores)
Review judges' decisions when someone appeals.
First instanceState, federal, labour, electoral and military judges
Where a case begins. A judge hears the parties, weighs the evidence and rules.
Judge (juiz)
First instance
How to get in
Public exam, after three years of legal practice
Examples
State judge, federal judge, labour judge
Decides alone the cases that start in their court
Has guarantees to decide without pressure: cannot be dismissed without a ruling, moved against their will or have their pay cut
Appeals judge (desembargador)
Second instance
How to get in
Promotion of judges, by seniority or merit
The "fifth"
One fifth of the seats go to lawyers and prosecutors, picked from a list by the governor (TJ) or the president (TRF, TRT)
Decides appeals in panels
Tries some officials directly, such as mayors
Justice (ministro)
Higher courts and STF
How to get in
Nominated by the president and approved by the Senate
Supreme Court requirements
Brazilian-born, 35 to 70 years old, outstanding legal knowledge and spotless reputation
Until when
Until 75, when retirement is compulsory
Decides final appeals and the cases the Constitution sends straight to the court
At the STF, decides what the Constitution allows
Public attorneys, prosecutors and defenders
In Portuguese, the word "procurador" names careers that do opposite things. One question clears it up: whom does each one defend?
They defend the city, the state or the Union in court, collect unpaid taxes and advise on what the government may or may not do. They join through a public exam.
Municipal attorney (procurador do município)
Municipal
Where
Municipal Attorney General's Office
Defends
City hall
Defends the city in court
Collects unpaid property and service taxes
Many small cities have no such career and hire law firms
State attorney (procurador do estado)
State
Where
State Attorney General's Office (PGE)
Defends
The state: government and secretariats
Defends the state in court
Collects unpaid ICMS and IPVA
Public exam is mandatory, with the Bar Association taking part
Union attorney, federal attorney and national treasury attorney
Federal
Where
Office of the Attorney General of the Union (AGU)
Defends
The Union and its bodies
Union attorney (advogado da União): defends the Presidency and the ministries
Federal attorney (procurador federal): defends agencies and foundations such as INSS, Ibama and federal universities
National Treasury attorney (procurador da Fazenda Nacional): collects unpaid federal taxes
Public Prosecution — guardians of the law
They do not defend the government: they defend society. They prosecute crimes, investigate corruption and protect the environment, consumers and other collective interests — even against the government itself. They belong to none of the three branches. They join through a public exam.
State prosecutor (promotor de Justiça)
State
Where
State Public Prosecution
Works before
State judges (first instance)
Prosecutes ordinary crimes
Defends collective interests in the city and state
State appeals prosecutor (procurador de Justiça)
State
Where
State Public Prosecution
Works before
Court of Justice (second instance)
A promoted prosecutor who works on appeals
Federal prosecutor (procurador da República)
Federal
Where
Federal Public Prosecution (MPF)
Works before
Federal courts and higher courts
Prosecutes federal crimes, such as corruption with federal money
Defends collective rights in federal cases
Its head, the prosecutor-general of the Republic, is nominated by the president and approved by the Senate for two years
Public Defender — the lawyer for those who cannot pay
Defends free of charge those who cannot afford a lawyer, in any kind of case. There is a federal Public Defender's Office (federal cases) and one in each state. They join through a public exam.
Who handles what
When you want to complain about a service, it helps to know whose job it is. Some examples:
City hall
Nursery, pre-school and primary school
Health clinic
City buses
Rubbish collection and street cleaning
Street lighting
Zoning and building permits
IPTU, ISS, ITBI
State government
Military and Civil police
Prisons
Secondary school
Regional hospitals
State highways
Metro and commuter trains, where they exist
ICMS, IPVA, ITCMD
Federal government
Currency and Central Bank
Armed Forces and borders
Federal Police
INSS pensions
Federal universities
Relations with other countries
Income tax, IPI, IOF
Together: health (the public health system, SUS, belongs to all three), social assistance, the environment and education funding.
The 2023 tax reform will replace, by 2033, ICMS and ISS with a single consumption tax, the IBS, and some federal taxes with the CBS.
Each branch checks the others
This is the system of checks and balances: each branch has ways to restrain the other two.
1Executive → Legislative Vetoes laws and issues provisional measures
2Legislative → Executive Overrides vetoes, approves the budget, opens inquiries and tries impeachment
3Judiciary → Legislative Strikes down laws that go against the Constitution
4Judiciary → Executive Annuls illegal government acts
5Executive → Judiciary Nominates justices of the Supreme Court and higher courts
6Legislative → Judiciary The Senate approves nominees and can try Supreme Court justices; Congress can amend the Constitution
How a federal law is born
The path of an ordinary law, from bill to binding everyone:
1
Someone proposes it
A deputy, senator, the president, courts and the prosecutor-general on their own matters, or citizens, with signatures from 1% of voters.
2
Committees review it
Thematic groups of lawmakers debate, hear experts and may change the text.
3
First house votes
Usually the Chamber. A majority of those present is enough.
4
Second house reviews
Usually the Senate. If it changes the text, the bill goes back to the first house.
5
The president signs or vetoes
Within 15 working days. The veto can be total or partial.
6
Congress can override the veto
With an absolute majority of deputies and of senators.
7
Publication
The law is published in the Official Gazette and takes effect on the date it sets.