Abstract In order to include the effect of high energy and topological parameters on black holes in $\mathrm{ F}(R)$ gravity, we consider two corrections to this gravity: energy-dependent spacetime with different topological constants, and a nonlinear electrodynamics field. In other words, we combine $\mathrm{ F}(R)$ gravity’s rainbow with ModMax nonlinear electrodynamics theory to see the effects of high energy and topological parameters on the physics of black holes. For this purpose, we first extract topological black hole solutions in $\mathrm{ F}(R)$-ModMax gravity’s rainbow. Then, by considering black holes as thermodynamic systems, we obtain thermodynamic quantities and check the first law of thermodynamics. The effect of the topological parameter on the Hawking temperature and the total mass of black holes is obvious. We also discuss the thermodynamic topology of topological black holes in $\mathrm{ F}(R)$-ModMax gravity’s rainbow using the off-shell free energy method. In this formalism, black holes are assumed to be equivalent to defects in their thermodynamic spaces. For our analysis, we consider two different types of thermodynamic ensembles. These are: fixed q ensemble and fixed $\phi$ ensemble. We take into account all the different types of curvature hypersurfaces that can be constructed in these black holes. The local and global topology of these black holes are studied by computing the topological charges at the defects in their thermodynamic spaces. Finally, in accordance with their topological charges, we classify the black holes into three topological classes with total winding numbers corresponding to $-1, 0$, and 1. We observe that the topological classes of these black holes are dependent on the value of the rainbow function, the sign of the scalar curvature, and the choice of ensembles.