Physical exercise improved the cognitive function of the older adults in all mental states. To improve cognitive ability, this meta-analysis recommended that patients perform at least moderate-intensity aerobic exercise and resistance exercise on as many days as possible in the week to comply with current exercise guidelines while providing evidence for clinicians.