The stability and performance challenges in conventional 3D perovskite solar cells (PSCs), attributed to perovskite structure and transport layers, prompt the exploration of 2D perovskites. However, the presence of transport layers and conventional contacts is still challenging as it creates interface defects and pinholes. In this study, a new transport‐layer‐free device structure, i.e., MXene–2D perovskites–MXene‐based metal–semiconductor–metal PSCs, is introduced to resolve the stability‐ and performance‐related issues. The proposed solar cell incorporates PeDAMAPb2I7 as the absorber layer and MXenes (Hf2NF2/Ta4C3F2) as electrodes. The Dion–Jacobson perovskites solar cell is also investigated for optimum thickness and defect tolerance level of PeDAMAPb2I7. In the results, it is indicated that the device delivered the maximum efficiency of 5.63% at a 500 nm thick absorber layer with a defect density of 1 × 1013 cm−3. Further, the quest to find suitable MXene contact for electron extraction is met by analyzing the proposed solar cell with nine different MXene layers (Hf2NF2, Hf2CF2, Zr2NF2, Ta2CF2, Ti4C3, Ti3C2, Zr2C, Sc2C, Ti2C). In the results, it is indicated that Hf2NF2 has a 3.2 eV work function, making it the optimal choice, achieving 5.63% efficiency.