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.

Suspect shot dead after crashing truck into Detroit-area synagogue
Iran's supreme leader, in first remarks, vows to keep strait closed
One person dies after Virginia university shooting
Four Bahrainis arrested for spying for Iranian Guard
Two US sailors injured after non-combat fire aboard carrier in Red Sea
First train to Pyongyang in six years leaves Beijing as neighbours revive link
Six vessels attacked in Gulf, Strait of Hormuz
IEA announces record oil stockpile release over Iran war supply disruptions
