Federated learning (FL) has recently emerged as a novel technique for training shared machine learning models in a distributed fashion while preserving data privacy. However, the application of FL in wireless networks poses a unique challenge on the mobile users (MUs)’ battery lifetime. In this paper, we aim to apply reconfigurable intelligent surface (RIS)-aided wireless power transfer to facilitate sustainable FL-based wireless networks. Our objective is to minimize the total transmit power of participating MUs by jointly optimizing the transmission time, power control, and the RIS’s phase shifts. Numerical results demonstrate that the total transmit power is minimized while satisfying the requirements of both minimum harvested energy and transmission data rate.