ABSTRACT In modern aerospace engineering, the demand for innovative and adaptable solutions is paramount. This study focuses on enhancing aircraft engine components, specifically variable-geometry inlets, to meet evolving aviation technology requirements. We utilise custom Ni51Ti alloy powder to create 4D printed variable-geometry inlets. A comprehensive examination of thermal history and residual stress reveals differences in the behaviour of NiTi alloys at various points of the 4D printed inlet. After post-treatment, the printed inlet demonstrates stable two-way shape memory effects, undergoing adaptive deformation with temperature changes, mimicking the operational conditions of a commercial aircraft. Differential scanning calorimetry (DSC) and dynamic mechanical analysis (DMA) tests confirm that the 4D printed NiTi alloys maintain very stable phase transformation temperatures and two-way shape memory performance. Fluid dynamics simulations further reveal that the variable-geometry inlet design is potentially more efficient in certain operational scenarios with a total pressure recovery factor of 0.9919.