The Heilongjiang Complex is a blueschist facies metamorphic belt located within the Zhangguangcailing Orogen between the Jiamusi and Songliao blocks in Northeast China. This complex has been regarded as an accretionary belt related to the subduction of an intervening oceanic domain between the two blocks. However, the timing of ocean closure and final amalgamation has not been well constrained, with different models arguing for a period of 210–180Ma or sometime after ~140Ma. This work reports in-situ detrital zircon U–Pb and Hf isotopic analyses of meta-sedimentary rocks from the Heilongjiang Complex. Detrital zircons from seven meta-sedimentary rocks samples yield U–Pb ages spanning from 1690 to 167Ma, with main populations matching those of multi-phase magmatism in the Jiamusi and Songliao blocks. Several Precambrian age groups (600Ma, 700Ma, 900Ma, 960Ma, 1200Ma, and 1300Ma) are consistent with the inherited zircons from the mafic rocks in the Heilongjiang Complex. A comparison with compiled data of magmatic rocks suggests that the two blocks may have been connected to each other during Permian time. Detrital zircon dating of all siliciclastic rocks yielded the youngest age component of ~170Ma, suggesting that the latest deposition of the mica schists happened at some time after ~170Ma. We propose that the Jiamusi and Songliao blocks once existed as a single block around Late Permian, which underwent a rifting event in the Permian to form a rifting basin that was subsequently evolved into an oceanic domain (Heilongjiang Ocean). The closure of the Heilongjiang Ocean occurred after ~170Ma.