The shift lever switching mechanism for a trigger is mounted onto the trigger body of a nailer. The mechanism has a guide groove passing laterally through the trigger, two positioning sections placed at intervals, and a shift lever. A control button is placed at one end of the shift lever with a container. Thus, the first positioning section aligns when the shift lever moves to the first position, and the second positioning section aligns when the shift lever moves to the second position. A flexible locator, mounted onto the shift lever and provided with a flexible snapper, is snapped with the first positioning section when the shift lever moves to the first position, or is snapped with the second positioning section when the shift lever moves to the second position. A motion tab has one end linked to the shift lever and another end extended opposite to form a driving section.