There is no time limit for baseball games. However, according to Rule 7.02 of Major League Baseball’s official rules, a game may be suspended due to local curfew laws.
An example of this occurred during the the longest MLB game ever, which was completed over the course of two days due to curfew laws.
See More Baseball Trivia & Questions