Relying on a layered algebraic design, we derive a new space-time-doppler (STD) code for multiple input multiple output (MIMO) time-selective fading channels. The proposed STD code achieves rate N t and enables full-diversity N t N r N b (Q +1), i.e., the product of the number of transmit antennas N t , receive antennas N r , coding blocks N b and channel complex exponential bases (Q +1). Simulation results show that the proposed STD codes achieve higher diversity gain in time-selective channels than some existing STD codes.