This paper presents the application of the Binary Firefly Algorithm (BFA) in tuning PID parameters for a coupled tank system. The agent position in the BFA represents the potential combination the PID parameters. This agent position is modelled using a string of 32 binary bits where each eight bits represents the value o