The invention discloses a method and a terminal for improving driving safety. The method comprises the following steps: S1, acquiring a driving speed, if the driving speed is less than a first presetspeed, repeating S1, and if the driving speed is greater than or equal to the first preset speed, entering S2; S2, judging whether the driver is focused on the terminal or not, if so, obtaining the allowable duration based on the driving speed, recording the actual duration, and if the actual duration is greater than or equal to the allowable duration, entering S3; if the attention of the driver is not concentrated on the terminal or the actual duration is less than the allowable duration, returning to S1; S3, prompting a driver to distract attention; judging whether the driving is finished ornot; if not, returning to the step S1; if so, ending the process. According to the present invention, the duration for allowing the user to pay attention to focus on the terminal is set according tothe current driving speed, the allowed duration is dynamically adjusted, the driving safety is enhanced, the user is allowed to normally use the terminal within the allowed duration, and the user experience is enhanced.