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.

Former US VP Dick Cheney dies at 84
Dozens killed, army helicopter downed as Typhoon Kalmaegi hits Philippines
Trump threatens to cut funds for New York City if Mamdani wins mayoral race
Worker trapped under collapsed medieval tower in Rome dies
Saudi Crown Prince bin Salman to visit Trump in White House
Australia to offer three hours free solar power daily to millions
Man charged with 10 counts of attempted murder after knife attack on UK train
Tanzania's Hassan sworn into office after deadly election violence
