Police who patrol apartment buildings in the city could soon be operating under new stop-and-frisk guidelines.

NYPD federal monitor Peter Zimroth has recommended changes to the NYPD's Trespass Affidavit Program.

Under that program, landlords allow police to patrol their buildings and question residents.

The suggested reforms say police could not stop-and-frisk a person based solely on their "mere presence" inside a building.

Officers would also have to fill out a form justifying the stops they make inside a building.

The same policies would also apply in New York City Housing Authority complexes.

The new legal standards still need to be approved by a federal judge.