An Uber driver targeted the San Mateo home of his passengers after dropping them off at the airport, police said Monday.

But when he was scared off by the house alarm, he left and burglarized a home less than half a mile away, police said.

Jackie Gordon Wilson, a 38-year-old resident of Rancho Cordova (Sacramento County) was arrested Friday night on suspicion of breaking into and ransacking a home, San Mateo police said

Officers responded at 5:37 p.m. to a report of a burglary on the 1700 block of Nash Drive, where they found a residence “completely ransacked,” said Michael Haobsh, a San Mateo police spokesman.

A home surveillance system captured the suspect entering the residence and alerted the homeowner, who shared the video on a community app. Other users identified the man as an Uber driver seen lurking around a home less than half a mile away on the 600 block of Rand Street.

Police said Wilson had picked up passengers from the Rand Street home earlier that afternoon, but was scared off after a security alarm sounded.

Officers traced Wilson back to his home in Rancho Cordova, where he was found wearing the same clothes from the surveillance footage. Investigators also found some of the items he allegedly took from the residences, along with evidence that may link him to other crimes in Northern California, Haobsh said.

He is no longer employed with Uber, the company said Monday.

“We removed the driver’s access to the app as soon as we were made aware of the allegations and stand ready to assist police in their investigation,” an Uber spokesman said in a statement.

Haobsh said that this is the first rideshare burglary case he has heard of in the city.

Wilson was booked into San Mateo County Jail on suspicion of first degree burglary, attempted burglary and resisting/obstructing a peace officer and is out on $50,000 bail.

Gwendolyn Wu is a San Francisco Chronicle staff writer. Email: gwendolyn.wu@sfchronicle.com Twitter: @gwendolynawu