In order to improve the accuracy and security when autonomous mobile robot moves in narrow area, a real-time navigation and obstacle avoidance algorithm is put forward. The feature extraction method is used to search for the path points, and the angle potential field method is used to search for the target angle. Based on the two methods more accurate environment modeling and navigation for mobile robot in narrow area is realized. The algorithm has been used successfully in the household robot, and the experiment results show it’s accurate and real-time.