Walking assistance apparatuses and methods of controlling the walking assistance apparatus are provided. The walking assistance apparatus may recognize a type of a gait task of a user, and may assist a gait of the user to be suitable for the recognized gait task. The walking assistance apparatus may recognize the gait task as various categories using a pre-trained recognizer.