Thylakoid proteins are targeted to their destination via signal peptides and prokaryotic-type secretory pathways inside the chloroplast. Most thylakoid proteins encoded by a plant's nuclear genome need two targeting signals for proper localization: An N-terminal chloroplast targeting peptide (shown in yellow in the figure), followed by a thylakoid targeting peptide (shown in blue). Proteins are imported through the translocon of the outer and inner membrane (Toc and Tic) complexes. After entering the chloroplast, the first targeting peptide is cleaved off by a protease processing imported proteins. This unmasks the second targeting signal and the protein is exported from the stroma into the thylakoid in a second targeting step. This second step requires the action of protein translocation components of the thylakoids and is energy-dependent. Proteins are inserted into the membrane via the SRP-dependent pathway (1), the Tat-dependent pathway (2), or spontaneously via their transmembrane domains (not shown in the figure). Lumenal proteins are exported across the thylakoid membrane into the lumen by either the Tat-dependent pathway (2) or the Sec-dependent pathway (3) and released by cleavage from the thylakoid targeting signal. The different pathways utilize different signals and energy sources. The Sec (secretory) pathway requires ATP as an energy source and consists of SecA, which binds to the imported protein and a Sec membrane complex to shuttle the protein across. Proteins with a twin arginine motif in their thylakoid signal peptide are shuttled through the Tat (twin arginine translocation) pathway, which requires a membrane-bound Tat complex and the pH gradient as an energy source. Some other proteins are inserted into the membrane via the SRP (signal recognition particle) pathway. The chloroplast SRP can interact with its target proteins either post-translationally or co-translationally, thus transporting imported proteins as well as those that are translated inside the chloroplast. The SRP pathway requires GTP and the pH gradient as energy sources. Some transmembrane proteins may also spontaneously insert into the membrane from the stromal side without energy requirement.