A method for producing a zeolite, zeolite-like or zeotype structure with selective formation of metal, metal oxide or metal sulphide nanoparticles and/or clusters inside the zeolite, zeolite-like or zeotype structure, the method comprising the steps of: a) treating a zeolite, zeolite-like or zeotype structure with an alkaline solution in the presence of a surfactant thereby obtaining a zeolite, zeolite-like or zeotype structure having a partly dissolved structure; b) heating the partly dissolved zeolite, zeolite-like or zeotype structure to an elevated temperature between 110-200 °C, thereby obtaining a zeolite, zeolite-like or zeotype structure with an additional porosity situated inside the structure; c) impregnating the zeolite, zeolite-like or zeotype structure with the additional porosity situated inside the structure with a solution comprising at least one transition metal precursor selected from nitrates, carbonates, acetates, sulphates, chlorides, carbonyls or formates thereby obtaining a transition metal precursor containing zeolite, zeolite-like or zeotype structure; and d) obtaining the zeolite, zeolite-like or zeotype structure with selective formation of metal, metal oxide or metal sulphide nanoparticles and/or clusters inside the zeolite, zeolite-like or zeotype structure by: i. subjecting the transition metal precursor containing zeolite, zeolite-like or zeotype structure to a reactive atmosphere selected from a stream of hydrogen gas (H 2), a stream of oxygen gas (O 2), a stream of hydrogen sulfide gas (H 2 S), a stream of methane gas (CH 4), or a stream of ammonia gas (NH 3) at an elevated temperature, or ii. decomposing the transition metal precursor containing zeolite, zeolite-like or zeotype structure by thermal treatment, wherein the transition metal, metal oxide or metal sulphide nanoparticle particles are selectively positioned inside the zeolite, zeolite-like or zeotype structure. a) treating a zeolite, zeolite-like or zeotype structure with an alkaline solution in the presence of a surfactant thereby obtaining a zeolite, zeolite-like or zeotype structure having a partly dissolved structure; b) heating the partly dissolved zeolite, zeolite-like or zeotype structure to an elevated temperature between 110-200 °C, thereby obtaining a zeolite, zeolite-like or zeotype structure with an additional porosity situated inside the structure; c) impregnating the zeolite, zeolite-like or zeotype structure with the additional porosity situated inside the structure with a solution comprising at least one transition metal precursor selected from nitrates, carbonates, acetates, sulphates, chlorides, carbonyls or formates thereby obtaining a transition metal precursor containing zeolite, zeolite-like or zeotype structure; and d) obtaining the zeolite, zeolite-like or zeotype structure with selective formation of metal, metal oxide or metal sulphide nanoparticles and/or clusters inside the zeolite, zeolite-like or zeotype structure by: i. subjecting the transition metal precursor containing zeolite, zeolite-like or zeotype structure to a reactive atmosphere selected from a stream of hydrogen gas (H 2), a stream of oxygen gas (O 2), a stream of hydrogen sulfide gas (H 2 S), a stream of methane gas (CH 4), or a stream of ammonia gas (NH 3) at an elevated temperature, or ii. decomposing the transition metal precursor containing zeolite, zeolite-like or zeotype structure by thermal treatment, i. subjecting the transition metal precursor containing zeolite, zeolite-like or zeotype structure to a reactive atmosphere selected from a stream of hydrogen gas (H 2), a stream of oxygen gas (O 2), a stream of hydrogen sulfide gas (H 2 S), a stream of methane gas (CH 4), or a stream of ammonia gas (NH 3) at an elevated temperature, or ii. decomposing the transition metal precursor containing zeolite, zeolite-like or zeotype structure by thermal treatment,