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.

GCC interior ministers hold emergency meeting in Riyadh
Gunshots fired in standoff at Philippine Senate over ICC suspect
Trump lands in China for Xi summit
Israeli airstrikes kill eight people on highway south of Beirut
Philippines' Senator says arrest imminent, urges public to block ICC transfer
UK's Starmer faces biggest challenge yet as resignation threat overshadows King's Speech
Israel steps up attacks on Gaza since Iran truce, as military says Hamas rearming
Trump says he does not need China's help to end Iran war
