A Dunedin man caught performing an indecent act by his neighbour was "extremely embarrassed'' when police turned up at his door.

The man's neighbour was in her kitchen doing her dishes when she saw him standing in front of a window in his house, naked and performing the act.

Senior Sergeant Craig Dinnissen said police spoke to the man, who admitted the incident and said he did not think anyone could see him.

He was off work sick and was "trying to get some sun'', Snr Sgt Dinnissen said.

Advertisement

"He was extremely embarrassed.''