Align Your Steps is a method for optimizing the sampling time schedule of diffusion models (DMs). This approach utilizes stochastic calculus to find specific optimal sampling time schedules for different solvers, well-trained DMs, and datasets. It optimizes time discretization, i.e., sampling scheduling, by minimizing the KLUB term, thus improving the output quality within the same computation budget. This method performs exceptionally well in image, video, and 2D toy data synthesis benchmark tests, with optimized sampling schedules outperforming previously manually crafted schedules in almost all experiments.