A homeless woman in Japan managed to sneak into a man’s house and lived undetected in his closet for a year – and was only arrested after he became suspicious when food mysteriously began disappearing.

Police found the 58-year-old woman on Thursday, hiding in the top compartment of the man’s closet. They arrested her for trespassing, police spokesman Hiroki Itakura from southern Kasuya town said today.

The resident of the home installed security cameras that transmitted images to his mobile phone, after becoming puzzled by food disappearing from his kitchen over the past several months.

One of the cameras captured someone moving inside his home Thursday after he had left, and he called police believing it was a burglar. However, when they arrived they found the door locked and all windows closed.

‘We searched the house … checking everywhere someone could possibly hide,’ Itakura said. ‘When we slid open the shelf closet, there she was, nervously curled up on her side.’

The woman told police she had no place to live and first sneaked into the man’s house about a year ago when he left it unlocked.

The closet is part of a Japanese-style room, one of several rooms in his one-story house where the man lived alone – or so he had thought.

Police were investigating how she managed to go in and out of the house unnoticed, as well as details of her life inside the closet, and if she had taken anything else besides food.

She had moved a mattress into the small closet space and apparently even took showers, Itakura said, calling the woman ‘neat and clean.’