The phase behavior of CBABC pentablock terpolymers confined in thin films is investigated using the Dissipative Particle Dynamic method. Phase diagrams are constructed and used to reveal how chain length (i-block length), block composition and wall selectivity influence the self-assembly structures. Under neutral walls, four categories of morphologies, i.e., perpendicular lamellae, core–shell types of microstructures, complex networks, and half-domain morphologies, are identified with the change in i-block length. Ordered structures are more common at weak polymer–polymer interaction strengths. For polymers of a consistent chain length, when one of the three components has a relatively smaller length, the morphologies transition is sensitive to block composition. With selective walls, parallel lamellae structures are prevalent. Wall selectivity also impacts chain conformations. While a large portion of chains form loop conformations under A-selective walls, more chains adopt bridge conformation when the wall prefers C-blocks. These findings offer insights for designing nanopatterns using symmetric pentablock terpolymers.