Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

ICE Enforcement Database

Explore U.S. Immigration and Customs Enforcement (ICE) arrests, detainers, detention-facility records, removals, encounters and custody decisions released through the Deportation Data Project. The published database contains 23,568,538 rows across six tables, with table-specific coverage from fiscal year (FY) 2012 through August 6, 2026.

Rows represent events or decisions, not distinct people. In particular, detentions contains facility segments: use v_detention_stays when counting stays or measuring their duration. Detainers and encounters begin in October 2022, while custody-assessment decisions end in September 2023.

The current data combines the 2023 and August 2026 Freedom of Information Act (FOIA) releases. Person identifiers support linkage only within a release; they cannot trace a person across the release boundary. Older overlapping records are superseded rather than matched by person ID. The Deportation Data Project flags the removals data as less reliable than the July 2025 release. Use the Python or R examples below and review table-specific coverage before interpreting trends.

Start querying

Show five arrest records dated from August 1, 2026 onward, with the date, state and recorded arrest method. This previews the published snapshot, whose latest arrest date is August 6, 2026.

Choose R or Python. Install datapond once: use install.packages("datapond") in R, or run python -m pip install datapond in a terminal.

R

library(datapond)
con <- dp_connect("ice")
tryCatch({
  DBI::dbExecute(con, "SET threads=1")
  DBI::dbExecute(con, "SET memory_limit='128MiB'")
  DBI::dbExecute(con, "SET max_temp_directory_size='0B'")
  print(DBI::dbGetQuery(con, "SELECT apprehension_date,state,apprehension_method FROM arrests WHERE apprehension_date >= TIMESTAMP '2026-08-01' LIMIT 5"))
}, finally = dp_disconnect(con))

Python

import datapond
con = datapond.connect('ice')
try:
    con.execute("SET threads=1")
    con.execute("SET memory_limit='128MiB'")
    con.execute("SET max_temp_directory_size='0B'")
    print(con.execute("""SELECT apprehension_date,state,apprehension_method FROM arrests WHERE apprehension_date >= TIMESTAMP '2026-08-01' LIMIT 5""").fetchall())
finally:
    con.close()

Queries run on your computer and read the byte ranges they need. A small result can still require a large scan. These examples limit DuckDB to one thread and a 128 MiB buffer pool with disk spill disabled; that is not a limit on the entire R or Python process. Larger analyses may need more memory or a local download with enough disk space.

Tables and coverage

Table Description Rows Cols Sources Documented coverage
arrests ICE administrative arrests 2,516,550 25 release_2023, release_2026_08 2011-10-01 to 2026-08-06
detentions Detention facility segments; several segments can belong to one stay 9,834,781 41 release_2023, release_2026_08 FY2012–Aug 6, 2026 release coverage; some stays began earlier
removals Deportation/removal records 3,868,035 43 release_2023, release_2026_08 FY2012–Aug 6, 2026 release coverage
rca_decisions Release/custody assessment decision history 3,543,467 42 release_2023 Through Sep 30, 2023
encounters ICE encounters with individuals 3,065,104 23 release_2026_08 Oct 2022–Aug 6, 2026
detainers Detainer requests issued to jails/prisons 740,601 45 release_2026_08 Oct 2022–Aug 6, 2026 release coverage

Raw date extrema are not coverage: detentions contain dates from 1995-08-31 to 2026-08-06; removals from 0001-09-10 to 2026-08-05; detainers from 0002-06-14 to 2026-08-05. Years 0001 and 0002 are invalid. Check dates before computing intervals.

Every row retains data_source (release_2023 or release_2026_08).

See the data dictionary for column definitions.

Joining records and useful views

Linked Records

Within one source release, tables share unique_id for linking available arrest, detainer, detention and removal records. Keep data_source with the identifier. IDs are re-anonymized between releases and cannot trace a person across the release boundary.

Pre-built Views

  • v_detention_stays - One row per detention stay, combining facility segments for stay counts and durations
  • v_arrest_to_detention - Arrests joined to detention stays
  • v_enforcement_pipeline - Full pipeline: arrest -> detention -> removal
  • v_daily_arrests - Daily arrest counts by data source

Interpretation limits

Arrest demographics (citizenship, gender and birth year) are available only in the newer release, so they do not support trends before October 2022. The current release adds arrests.city and county for that window (31% populated), but does not include apprehension_type. Detention rows are facility segments; count stays using v_detention_stays. The Deportation Data Project continues to flag removals as less reliable than the July 2025 release.

More example queries

Count recorded arrests by month. Coverage and release boundaries above still apply.

INSTALL httpfs;
LOAD httpfs;
ATTACH 'https://huggingface.co/datasets/Nason/ice-database/resolve/main/ice.duckdb' AS ice (READ_ONLY);

-- Arrests by month
SELECT DATE_TRUNC('month', apprehension_date) AS month, COUNT(*) AS arrests
FROM ice.arrests
WHERE apprehension_date IS NOT NULL
GROUP BY 1 ORDER BY 1 DESC LIMIT 12;

Other ways to connect

Python metadata inspection

import duckdb
con = duckdb.connect()
con.sql("INSTALL httpfs; LOAD httpfs;")
con.sql("""
    ATTACH 'https://huggingface.co/datasets/Nason/ice-database/resolve/main/ice.duckdb'
    AS ice (READ_ONLY)
""")
con.sql("SELECT * FROM ice._metadata").show()

DuckDB uses HTTP range requests, so only the pages needed for your query are downloaded.

Sources and maintenance

Source and license reference

See the data dictionary for column definitions and the Deportation Data Project (FOIA litigation) for the source. License: CC-0.

Data Source

Deportation Data Project (Berkeley Law / UCLA). Data obtained through FOIA litigation against ICE.

How releases are combined

The August 2026 release is cumulative from October 1, 2022. Older event records in its overlapping coverage are superseded by date or stay coverage; they are not matched across releases by person identifier. The earlier 2025 settlement release is superseded entirely. Custody-assessment decisions remain from release_2023 through September 2023.

Build source

Built with ice-database.

License

Database build code: MIT. Underlying data: public domain (U.S. government records released via FOIA).

GitHub

Full source code, build instructions, and example queries: github.com/ian-nason/ice-database

Changelog

2026-09-14 — Data refresh (Deportation Data Project release of 2026-08-21)

  • Rebuilt from the DDP's August 2026 ICE release (activity 2022-10-01 through 2026-08-06), which is cumulative and fully supersedes the March 2026 and December 2025 releases. Total rows 22,030,619 → 23,568,538: arrests 2,516,550 (release_2026_08 share 891,675), detentions 9,834,781, removals 3,868,035, encounters 3,065,104, detainers 740,601, rca_decisions 3,543,467 (unchanged, release_2023 only).
  • data_source for the current release is now release_2026_08; the value release_2026 no longer appears.
  • New in the source: arrests.city (and county) for the 2022-10+ window (31% populated). ICE did not include apprehension_type in this release.
  • Fix: the exact whole-row dedup of encounters (12,419 rows here; 12,097 in July) is now part of the build instead of a one-off repair, and validation asserts zero exact duplicates, view/arrest row parity, no negative durations, and that no superseded release remains.
  • Harmonization: Anonymized Unique Identifier, Stay Book Out Date Time and Detention Book In Date Time headers now map onto unique_id, stay_book_out_date and detention_book_in_date (the July build carried a separate, mostly-null stay_book_out_date_time column).
  • Builder recognises the DDP's abbreviated file names (ARS/DPR/DET/ENC/REM); scripts/download_releases.sh fetches both releases from their box.com links. DuckDB memory capped at 4 GB / 4 threads; publish_to_hf.py --card-only.
  • Caveats unchanged: unique_id never links across releases; detentions is facility-segment level; DDP continues to flag the removals data as less reliable than the July 2025 release.

2026-07-06 — Full refresh + data-quality audit

Rebuilt from the Deportation Data Project's 2026 FOIA release (data through 2026-03-10) and repaired after an independent SQL-verified audit.

Data changes

  • New encounters table (2,586,515 rows, release_2026 only).
  • Release_2025 fully superseded by release_2026; release_2023 rows inside the 2026 window (2022-10-01 onward) deleted to prevent double counting. Detention supersede keys on stay book-out, removing 17,970 previously double-counted boundary-spanning segments.
  • 12,097 exact-duplicate encounters rows removed.
  • Totals: 22,030,619 rows across 6 tables (was 17.8M across 5).

Fixes

  • Views rewritten: v_arrest_to_detention and v_enforcement_pipeline now produce one row per arrest, matching the first detention stay / removal on or after the arrest within the same release (the old versions joined on unique_id alone, fanning out 3.1x with 20-27% negative durations). New v_detention_stays view collapses facility segments to stays.
  • removals.departure_date header rename in the 2026 release handled (previously would load as all-NULL).

Known caveats (see README for the full list)

  • unique_id never links across releases (re-anonymized per FOIA release).
  • Detainers and encounters exist only from Oct 2022; rca_decisions ends Sep 2023.
  • arrests demographics (citizenship, gender, birth year) exist only in release_2026 rows.

R with DBI and duckdb

Install the dependencies once with install.packages(c("DBI", "duckdb")).

library(DBI)
con <- dbConnect(duckdb::duckdb())
dbExecute(con, "INSTALL httpfs")
dbExecute(con, "LOAD httpfs")
dbExecute(con, "ATTACH 'https://huggingface.co/datasets/Nason/ice-database/resolve/main/ice.duckdb' AS ice (READ_ONLY)")
dbGetQuery(con, "SELECT apprehension_date FROM ice.arrests LIMIT 5")
dbDisconnect(con, shutdown = TRUE)

DuckDB uses HTTP range requests; queries run on your machine and may need substantial memory or download data. A LIMIT does not guarantee a small scan.

Downloads last month
348