The United States federal government has partially shut down despite a last-ditch funding deal approved by the US Senate.

The funding lapse officially began at midnight US eastern time on Saturday, hours after senators agreed to fund most agencies until September. The bill carved out a two-week exemption for the Department of Homeland Security, which oversees immigration enforcement agencies.

The bill has yet to be approved by the US House of Representatives, which is out of session.

President Donald Trump struck the deal with Democrats after they refused to give more funding for immigration enforcement following the fatal shooting of two US citizens in Minneapolis by federal agents.

This marks the second government shutdown in less than a year, following a previous record shutdown that lasted 43 days and caused widespread disruption to federal services.

However, lawmakers believe that the current shutdown will not extend for a prolonged period as the House is expected to reconvene next week. The White House has instructed several government agencies to prepare for shutdown procedures.

Lawmakers are under pressure to use this time to negotiate updated immigration policies, which have become increasingly contentious following recent violent incidents involving federal agents.