The objective of this study is to optimize the four-bed six-step pressure swing adsorption(PSA) process for high purity CH₄ recovery from the biogas. The effects of P/F(purge to feed) ratio and cycle time on the process performance were evaluated. The cyclic steady-states of PSA process were reached after 12 cycles. The purity and recovery rate of product gas, pressure and temperature changes were constant as the cycle repeated. It was shown that the P/F ratio gave significant effect on the product recovery rate by increasing the amount of purge gas in purge and regeneration step. The optimal P/F ratio was found to be 0.08. As the cycle time increased, the product purity decreased by increasing the feed gas flow rate. It was found that the optimal operating conditions were P/F ratio of 0.08 and total cycle time of 1,440 seconds with the purity of 97%.