Japanese police have identified the detained suspect as Shinji Aoba but he has not yet been arrested.
Media reports say the 41-year-old man seemed angry and shouted "Die!" before he poured a flammable liquid on the entrance to Kyoto Animation headquarters and set it ablaze on Thursday.
The suspected arsonist shouted that he had been plagiarised and had reportedly planned the attack on an animation studio.
The fire was put out nearly a day later, killing 33 people and injuring 10 others in Japan's worst mass killing since 2001.
Japan's Kyodo news agency reported that when the suspect was detained, he confessed to the police and claimed the studio had stolen his novel.

Three cruise ship passengers die in suspected hantavirus outbreak
Iran warns US Navy to stay clear of Hormuz after US offers to help stranded ships
Shooting at lake near Oklahoma City injures 10, more feared
United jet hits truck and light pole on approach to Newark airport
Iran says it has received US response to its latest talks offer