System and method for adjusting the angle of a prosthetic ankle are disclosed. In one example, the system, such as an actuated prosthetic ankle joint, detects the surface angle and actively adjusts the members of the ankle to a preferred angle according to the respective slope of the incline/decline.