A necessary condition for the formation of a filament is magnetic helicity. In the present paper we seek the origin of magnetic helicity of intermediate filaments. We observed the formation of a sinistral filament at the boundary of a decaying active region using full-disk Hα images obtained from Big Bear Solar Observatory. We have measured the rate of helicity injection during the formation of the filament using full-disk 96 minute-cadence magnetograms taken by SOHO MDI. As a result we found that 1) no significant helicity was injected around the region (polarity inversion line; PIL) of filament formation and 2) negative helicity was injected in the decaying active region. The negative sign of the injected helicity was opposite to that of the filament helicity. On the other hand, at earlier times when the associated active region emerged and grew, positive helicity was intensively injected. Our results suggest that the magnetic helicity of the intermediate filament may have originated from the helicity accumulated during the period of the growth of its associated active region.