A single defect site on boundaries has been investigated by totally asymmetric simple exclusion process (TASEP). Here, two typical cases have been explored (namely, case A and case B). In case A, a single defect locates on the first site, then the one-dimensional lattice has been divided into two segments, namely, a single defect site with the hopping rate p and a normal general TASEP with hopping rate q. Similarly, a single defect locates on the last site for case B. The steady state phase diagrams and bulk densities can be obtained by theoretical analysis and Monte Carlo simulations. With 2p≤q2, the system includes only two phases (namely LD and HD phases), and the MC phase vanishes. However, when the condition 2p>q2 is valid, the MC phase exists in system and the parameters p and q affect its region. With the decrease of the ratio of p/q, the region of HD phase reduces for case A and grows for case B. The theoretical calculations are in good agreement with Monte Carlo simulations.