Version 2026-10-29 · License: CC BY 4.0
Author: Felipe Mendes Smargiassi (ORCID 0009-0005-5703-2286), Guaxupé, Minas Gerais, Brazil. Online version and record pages: https://smargiassi.com.br/dados/mapa-prisional/
One row per Brazilian municipality covered so far: 2,167 municipalities in all 27 federative units. For each municipality the file gives the court district (comarca) with jurisdiction, its entrance level (entrância), the courthouse, the public telephone of the court, whether the municipal record states that a prison unit is located in the municipality, the units located there, the reference units in other municipalities that the record points to, the IBGE municipality code and the 2022 Census population.
In this version, 280 municipalities have at least one prison unit located in the municipality (348 unit listings), 1,036 records state that there is no unit in the municipality, and 851 records do not say. 195 records point to reference units elsewhere (588 listings). A unit can appear in more than one row, because several municipalities may point to the same reference unit.
Every row links to a municipal record page (column fonte_ficha). On that page each institutional field cites its primary official source (state Court of Justice, Corregedoria, state prison administration such as SEAP, SEJUS, SAP, AGEPEN or IAPEN, and IBGE) with the date it was verified.
| File | Content |
|---|---|
mapa-prisional-brasil.csv |
The data. UTF-8 with byte order mark, comma-separated, one header row, one row per municipality, sorted by state and municipality. Fields containing commas, semicolons or quotes are quoted. |
mapa-prisional-brasil-meta.json |
Version, row counts and number of municipalities per state. |
README.md |
This file. |
| Column | Description | Filled |
|---|---|---|
uf |
State abbreviation (two letters). | 100% |
municipio |
Municipality name. | 100% |
codigo_ibge |
IBGE seven-digit municipality code. | 100% |
populacao_censo_2022 |
Resident population, IBGE 2022 Census (aggregate 4709, variable 93). | 82.6% |
comarca |
Court district that has jurisdiction over the municipality, as installed and operating. | 97.6% |
entrancia |
Entrance level of the court district, as written by the state court (wording varies by state). | 81.7% |
forum |
Courthouse, when the record names it. | 12.4% |
telefone_forum |
Public telephone number(s) of the court; several numbers are separated by “ / “. | 67.0% |
ha_unidade_no_municipio |
“sim” when the record lists at least one prison unit located in the municipality; “não” when the record states that there is none; empty when the record does not say. | 60.7% |
unidades_no_municipio |
Prison units located in the municipality, separated by “ | “, written as the source writes them. | 12.9% |
unidades_de_referencia |
Units in other municipalities that the record names as the usual destination of detainees from the municipality or as the regional units, separated by “ | “. | 9.0% |
fonte_ficha |
URL of the municipal record with field-level sources and verification dates. | 100% |
unidades_de_referencia. Units the record describes as deactivated are left out.Version 2026-10-27 had a single column, unidades_prisionais, with a flag tem_unidade_prisional. That column mixed units located in the municipality with reference units in other municipalities, and in some rows it also carried the word “nenhuma” (“none”) and notes taken from the record (ombudsman hours, telephone numbers, e-mail addresses, the court in charge of sentence execution). Its total of 767 listings, and the flag “sim” in 469 rows, overstated the number of municipalities with a prison unit. Version 2026-10-29 replaces both columns with ha_unidade_no_municipio, unidades_no_municipio and unidades_de_referencia, keeps only unit names and leaves out units the record describes as deactivated. It also reads the courthouse, its telephone and the entrance level when the record gives them as a structured entry, which fills forum in 126 more rows, entrancia in 69 more rows and telefone_forum in 31 more rows, and it empties one malformed comarca cell (Vila Velha, ES). The other columns are unchanged.
Coverage is partial: municipalities that are not in the file do not yet have a verified record. When a record describes its units only in running text, unit names are taken from that text by unit type (Penitenciária, Presídio, Cadeia Pública, CDP and so on); a unit the text names without such a word is not captured. Telephone numbers and unit names change; check the municipal record and the official source before relying on a value. The dataset does not contain any information about individual people.
Smargiassi, Felipe Mendes. Mapa prisional e de comarcas do Brasil (version 2026-10-29). Zenodo, 2026. Dataset, CC BY 4.0. https://doi.org/10.5281/zenodo.23779474
Corrections pointing to a newer official source are welcome at felipe@smargiassi.com.br.
Uma linha por município brasileiro já coberto: 2.167 municípios nas 27 unidades da federação. Para cada município, a base traz a comarca competente, a entrância, o fórum, o telefone público do fórum, se a ficha registra unidade prisional no município, as unidades que ficam nele, as unidades de referência em outras cidades apontadas pela ficha, o código IBGE e a população do Censo 2022.
Nesta versão, 280 municípios têm pelo menos uma unidade prisional no próprio município (348 unidades listadas), 1.036 fichas registram que não há unidade no município e 851 fichas não dizem. 195 fichas apontam unidades de referência em outras cidades (588 menções). A mesma unidade pode aparecer em mais de uma linha, porque vários municípios podem apontar a mesma unidade de referência.
Cada linha aponta a ficha da cidade (coluna fonte_ficha), onde cada campo institucional cita a fonte primária (Tribunal de Justiça do estado, Corregedoria, administração penitenciária estadual como SEAP, SEJUS, SAP, AGEPEN ou IAPEN, e IBGE) com a data de verificação.
unidades_de_referencia. Unidade que a ficha registra como desativada fica de fora.A versão 2026-10-27 tinha uma só coluna, unidades_prisionais, com o indicador tem_unidade_prisional. Essa coluna misturava unidades do município com unidades de referência de outras cidades e, em algumas linhas, trazia também a palavra “nenhuma” e observações da ficha (horário de ouvidoria, telefones, e-mails, o juízo da execução penal). O total de 767 menções, e o “sim” em 469 linhas, superestimavam o número de municípios com unidade prisional. A versão 2026-10-29 substitui as duas colunas por ha_unidade_no_municipio, unidades_no_municipio e unidades_de_referencia, só com nomes de unidades, e deixa de fora as unidades que a ficha registra como desativadas. Ela também lê o fórum, o telefone e a entrância quando a ficha os traz em campo estruturado, o que preenche forum em mais 126 linhas, entrancia em mais 69 e telefone_forum em mais 31, e esvazia uma célula malformada de comarca (Vila Velha, ES). As demais colunas não mudaram.
A cobertura é parcial: municípios fora da base ainda não têm ficha verificada. Quando a ficha descreve as unidades só em texto corrido, os nomes são extraídos do texto pelo tipo de unidade (Penitenciária, Presídio, Cadeia Pública, CDP etc.); unidade citada sem essa palavra não é capturada. Telefones e nomes de unidades mudam; confira a ficha e a fonte oficial antes de usar um dado. A base não contém nenhuma informação sobre pessoas.
Smargiassi, Felipe Mendes. Mapa prisional e de comarcas do Brasil (versão 2026-10-29). Zenodo, 2026. Base de dados, CC BY 4.0. https://doi.org/10.5281/zenodo.23779474
Correções com fonte oficial mais nova: felipe@smargiassi.com.br.
Felipe Mendes Smargiassi, Brazilian criminal defense lawyer (OAB/MG 155.242), Guaxupé, Minas Gerais. ORCID 0009-0005-5703-2286 · Website · LinkedIn
Contact is handled only through felipe@smargiassi.com.br and WhatsApp +55 35 91019-8798. No payment is ever received in the name of third parties: payments are made only to Felipe Mendes Smargiassi. Please be wary of any other contact using this name.