Kansas is not a sanctuary state. A 2022 law, House Bill 2717, bars every city, county, and other municipality in Kansas from adopting any policy that limits cooperation with federal immigration authorities, and it voids any local rule that tries to.1Kansas Legislature. Kansas HB 2717
What HB 2717 Forbids Local Governments From Doing
The statute targets local governments directly. No municipality in Kansas can pass an ordinance, resolution, or internal policy that prevents its employees from sharing information about a person’s citizenship or immigration status with federal officials. Four categories of communication are specifically protected: cooperating with federal officials, sending or receiving data from the Department of Homeland Security, maintaining immigration-related information, and exchanging that data with other government agencies at any level.1Kansas Legislature. Kansas HB 2717
The reach is broader than information. HB 2717 also prohibits municipalities from limiting or restricting the enforcement of federal immigration laws in any way, and it requires every law enforcement agency in the state to give officers a written notice explaining their duty to cooperate with state and federal agencies on immigration matters.1Kansas Legislature. Kansas HB 2717
Municipal ID cards get their own treatment. Some Kansas cities had created or considered local ID programs partly to help undocumented residents access services. Under HB 2717, a municipal ID cannot satisfy any state identification requirement and must carry a disclaimer on the face of the card saying so.1Kansas Legislature. Kansas HB 2717
The Local Ordinances That Got Wiped Out
Before HB 2717, a handful of Kansas communities had moved in the opposite direction. The Unified Government of Wyandotte County and Kansas City, Kansas adopted the Safe and Welcoming City Act in early 2022. The ordinance directed local resources away from federal immigration enforcement, restricted unnecessary collection of immigration data, created a community ID program, and required translation services in municipal court.2Unified Government of Wyandotte County/Kansas City, Kansas. Commission to Consider Safe and Welcoming City Act
Roeland Park, a small city in Johnson County, had gone first. Its 2020 Protecting Public Safety and Community Resources Act said city officials had no obligation to spend funds or share information to help ICE, and it required the police department to alert residents of any planned federal immigration enforcement activity within 48 hours.
Lawrence took a softer approach in 2017, passing a proclamation declaring itself a welcoming city. The proclamation carried no legal force, but at the time Lawrence police did not check or report immigration status during routine duties, and the Douglas County sheriff’s office did not honor standalone ICE detainer requests.
HB 2717 neutralized all of this. Any local ordinance restricting cooperation with federal immigration authorities is now automatically void, and cities that had adopted these policies had to bring their practices back into line or risk a lawsuit from the state.
How the State Enforces the Ban
The Kansas attorney general, or any county or district attorney, can sue a noncompliant municipality. If a court agrees the city or county has violated the law, it will issue an injunction ordering compliance.1Kansas Legislature. Kansas HB 2717
The statute does not create fixed fines or allow the state to strip a city of its funding as a built-in penalty. The real financial exposure for a city that loses one of these cases is the cost of defending the lawsuit and potentially paying the state’s legal fees, not a scheduled fine.
What Cooperation Looks Like in Practice
Day-to-day cooperation between Kansas law enforcement and federal immigration authorities runs through two main channels: database sharing at the jail and the ICE detainer system.
When someone is booked into a county jail, their fingerprints and biographical data are run through federal databases. If the records flag an immigration issue, ICE can issue a detainer, which is a formal request asking the jail to hold the person for up to 48 hours past their scheduled release so ICE can take custody.3U.S. Immigration and Customs Enforcement. Immigration Detainers Federal regulations describe the window as 48 hours excluding weekends and holidays, though ICE’s own guidance frames it as a flat 48 hours.4eCFR. 8 CFR 287.7 – Detainer Provisions
Some counties go further through the 287(g) program, which formally deputizes trained local officers to carry out certain immigration enforcement functions inside jails. The Finney County Sheriff’s Office has a signed memorandum of agreement with ICE under this program, authorizing jail staff to interview detainees about immigration status and initiate removal proceedings.5U.S. Immigration and Customs Enforcement. Memorandum of Agreement – Finney County Sheriffs Office As of March 2026, ICE has signed over 1,500 of these agreements with agencies nationwide, and Kansas participation may now extend beyond Finney County.6U.S. Immigration and Customs Enforcement. Delegation of Immigration Authority Section 287(g) Immigration and Nationality Act
Federal Law Sits Underneath the State Law
Kansas did not build its anti-sanctuary rule from scratch. Federal law already prohibits any government entity from blocking its employees from sending immigration status information to, or receiving it from, federal immigration authorities. Under 8 U.S.C. ยง 1373, government entities are also guaranteed the right to maintain that information and exchange it with other agencies at any level.7Office of the Law Revision Counsel. 8 USC 1373 – Communication Between Government Agencies and the Immigration and Naturalization Service
HB 2717 mirrors that structure at the state level, using nearly identical categories of protected communication. The practical result is a double layer: a Kansas city or county that tried to limit immigration-related information sharing would be out of step with both federal and state law, and both the U.S. attorney general and the Kansas attorney general would have independent authority to act. For anyone asking whether a Kansas community can act as a sanctuary, the answer at every level is the same.