Bottlenecks can be identified by closely monitoring the program execution, analyzing the time taken for various tasks, and identifying segments where delays occur. Tools like software profilers or PLC diagnostic functions can help pinpoint areas that are causing slowdowns.