From the field equations corresponding to a four-dimensional brane embedded in the five-dimensional spacetime of the Einstein–Chern–Simons theory for gravity, we find cosmological solutions that describe an accelerated expansion for a flat universe. Apart from a quintessence-type evolution scheme, we obtain a transient phantom evolution, which is not ruled out by the current observational data. Additionally, a bouncing solution is shown. The introduction of a kinetic term in the action shows a de Sitter behavior although the energy density is not constant. A quintessence behavior is also found. We conjecture on a possible geometric origin of dark energy coming from this action.