Controlling machine degradation enhances the accuracy of the remaining-useful-life estimation and offers the ability to control failure type and time. In order to achieve optimal degradation control, the system controller must be cognizant of the consequences of its actions by considering the degradation each action imposes on the system. This article presents a method for designing cost-aware controllers for linear systems, to increase system reliability and availability through degradation control. The proposed framework enables learning independent of the system’s physical structure and working conditions, enabling controllers to choose actions that reduce system degradation while increasing system lifetime. To this end, the cost of each controller’s action is calculated based on its effect on the state of health. A mathematical structure is proposed, to incorporate these costs into the cost function of the linear–quadratic controller, allowing for optimal feedback for degradation control. A simulation validates the proposed method, demonstrating that the optimal-control method based on the proposed cost function outperforms the linear–quadratic regulator in several ways.