An optimal sleep environment is cool, dark, and quiet. Investing in a comfortable mattress and pillows, using blackout curtains, and maintaining a room temperature between 60-67°F (15-19°C) can enhance sleep quality. Additionally, reducing noise levels with earplugs or white noise machines can further contribute to a restful sleep environment.