Algae pyrolytic bio-oil contains a large quantity of N-containing components (NCCs), which can be processed as valuable chemicals, while the harmful gases can also be released during bio-oil upgrading. However, the characteristics of NCCs in the bio-oil, especially the composition of heavy NCCs (molecular weight ≥200 Da), have not been fully studied due to the limitation of advanced analytical methods. In this study, three kinds of algae rich in lipids, proteins, and carbohydrates were rapidly pyrolyzed (10-25 °C/s) at different temperatures (300-700 °C). The bio-oil was analyzed using a Fourier transform ion cyclotron resonance mass spectrometer equipped with electrospray ionization, and the characteristics and evolution of nitrogen in heavy components were first obtained. The results indicated that the molecular weight of most heavy NCCs was distributed in the 200-400 Da range. N1-3 compounds account for over 60% in lipid and protein-rich samples, while N0 and N4 components are prominent in carbohydrate-rich samples. As temperature increases, most NCCs become more aromatic and contain less O due to the strong Maillard and deoxygenation reactions. Moreover, the heavier NCCs were promoted to form lighter compounds with more nitrogen atoms through decomposition (mainly denitrogenation and deoxygenation). Finally, some strategies to deal with the NCCs for high-quality bio-oil production were proposed.