We used a two-dimensional lattice Boltzmann method to simulate the sedimentation motion of an elliptical squirmer in a vertical channel, taking into account the case of a circular squirmer, aiming to more realistically simulate the swimming of microorganisms in nature. The study in this was divided into two phases. The first phase comprised the numerical calculations of an elliptical squirmer with an aspect ratio of c = 2.0 and revealed three typical motion modes: steady inclined motion, wall-attraction oscillation, and large-amplitude oscillation. It was found that the formation of these three motion modes and transitions between modes are related to the pressure distribution formed between the elliptical squirmer and wall. In addition, significant differences exist between the motions of elliptical and circular squirmers. The force generated by the interaction between the elliptical squirmer and wall does not all point towards its center of mass, resulting in an additional torque on the elliptical squirmer; this is not the situation for the circular squirmer. The second phase of the study simulated squirmers with different aspect ratios (c = 1.0, c = 3.0). It was found that for an elliptical squirmer with an aspect ratio c = 3.0, the large-amplitude oscillation mode (among the above three motion modes) no longer exists. By combining the motion modes of a circular squirmer in the channel, it can be observed that as the aspect ratio c increases, the squirmer’s head direction tends to be more vertical, which may reduce the drag force during swimming.