This research paper proposes a hybrid fuzzy logic controller for achieving autonomous path navigation and obstacle avoidance through the use of the Social Spider Optimizer algorithm. The proposed controller employs kinematic modelling to determine the mobile robot’s path navigation and utilizes a fuzzy logic system for effective control. The Social Spider Optimizer algorithm optimizes the parameters of the fuzzy controller, while the FLC is responsible for obstacle avoidance. The effectiveness of the proposed controller has been analyzed, and a comparative study has been carried out with optimization techniques like particle swarm optimization (PSO) and cuckoo search optimization (CSO) controllers. The study aims to propose a hybrid fuzzy logic controller, that provides efficient navigation and obstacle avoidance for mobile robots. In a simulation, the starting point is considered as (0,0) and the destination point is set as Xk = 1.1 and Yk = 1.2. The performance of the proposed method is compared with FLC and methods like PSO and CSO. With the SSO-based FLC, the proposed mobile robot identifies the obstacle distance and travels towards the destination with smooth navigation. The results show the efficacy of the proposed controller in comparison to other controllers for mobile robots in terms of path navigation and obstacle avoidance.