Generally, the warranty on a new vehicle will cover the transmission and other major components against manufacturing defects or breakdowns for a certain period of time or up to a certain mileage limit, whichever comes first. The duration of the warranty may vary from one manufacturer to another, but commonly it ranges between 3 years/36,000 miles to 5 years/60,000 miles. Some luxury vehicle brands or extended warranties may provide coverage for even longer periods.
It's important to note that the warranty coverage may have certain exclusions or exceptions. For example, if the transmission damage is a result of misuse or improper maintenance (e.g. neglecting to change transmission fluid or subjecting the vehicle to extreme stress), it may not be covered under the standard warranty.
To ensure that your transmission is covered and to know the specific terms of the warranty, you should refer to your vehicle's warranty manual or contact the dealership or manufacturer from which you purchased the vehicle.