Berth and loading and unloading machinery are not only the main factors that affecting the terminal operation, but also the main starting point of energy saving and emission reduction. In this paper, a genetic Algorithm Framework is designed for the berth allocation with low carbon and high efficiency at bulk terminal. In solving the problem, the scheduler’s experience is transformed into a regular way to obtain the initial solution. The individual is represented as a chromosome, and the sub-chromosomes are encoded as integers, the roulette wheel method is used for selection, the two-point crossing method is used for cross, and the exchange variation method is used for variation in the procedure of designing the Algorithm. Considering the complexity of berth scheduling problem and the diversity of constraints and boundary conditions, the genetic algorithm combines with system simulation to get the final scheme of berth allocation. This model and algorithm are verified to be practical by analyzing multiple sets of examples of shorelines with different lengths. When compared with the traditional algorithms in three aspects which includes berth offset distance, departure delay cost and energy consumption of portal crane, the result indicates that the improved algorithm is more effective and feasible. The study will help to lower energy consumption and resource waste, reduce environmental pollution, and provide a reference for low-carbon, green and sustainable development of the terminal.