This study analyzes time-dependent magnetohydrodynamics natural convective flow of a viscous incompressible fluid in an annulus with ramped motion of the boundaries. The governing momentum and energy equations are solved analytically, in terms of the modified Bessel function of the first and second kinds. The influence of governing parameters such as the Hartman number, radius ratio, Grashof number, heat absorption parameter, and Prandtl number are discussed with the help of line graphs. It is found that the Hartmann number has a retarding effect on fluid velocity when K = 0.0 and K = 0.5, while the reverse effect is noticed when K = 1.0. The Hartman number also decreases the mass flow rate for all cases of K while it enhances the skin friction at the inner surface of the outer cylinder. It increases the skin friction at the outer surface of the inner cylinder when K = 1.0 and K = 0.0, but decreases the skin friction at the outer surface of the inner cylinder when K = 0.5.