T-cells are essential components of the immune system, adapting their behavior in response to the mechanical environments they encounter within the body. In pathological conditions like cancer, the extracellular matrix (ECM) often becomes stiffer due to increased density and alignment of collagen fibrils, which can have a significant impact on T-cell function. In this study, we explored how these ECM properties—density and fibrillar alignment—affect T-cell behavior using three-dimensional (3D) collagen matrices that mimic these conditions. Our results show that increased matrix stiffness, whether due to higher density or alignment, significantly suppresses T-cell activation, reduces cytokine production, and limits proliferation, largely through enhanced YAP signaling. Individually, matrix alignment appears to lower actin levels in activated T-cells and changes migration behavior in both resting and activated T-cells, an effect not observed in matrices with randomly oriented fibrils. Notably, inhibiting YAP signaling was able to restore T-cell activation and improve immune responses, suggesting a potential strategy to boost the effectiveness of immunotherapy in stiff ECM environments. Overall, this study provides new insights into how ECM characteristics influence T-cell function, offering potential avenues for overcoming ECM-induced immunosuppression in diseases such as cancer.