Necessary and sufficient conditions for a regular bi-Cayley graph to have total perfect codes are given.Particularly,necessary and sufficient conditions for subgroups of a group to be total perfect codes of the bi-Cayley graphs of this group are given as well.