1: \begin{abstract}
2: We study the effect of baryonic processes on the shapes of dark matter (DM) haloes from Illustris, a suite of hydrodynamical (Illustris) and N-body (Illustris-Dark) cosmological simulations
3: carried out using the moving-mesh code {\sc arepo}.
4: Halo shapes are determined using an iterative method based on the inertia tensor for a wide range of masses ($M_{200} = 1 \times 10^{11} - 3 \times 10^{14} M_\odot$).
5: Our convergence tests shows that the local radial profiles of halo shapes is converged only for $r > 9\epsilon$, where $\epsilon$ is the Plummer equivalent softening length, larger than expected for the convergence of mass profiles.
6: Haloes from the non-radiative simulations lacking radiative processes, star formation and feedback exhibited no difference in shapes from their DM-only counterparts, showing that the moving-mesh hydrodynamics alone is insufficient to cause differences in halo shapes.
7: With the full galaxy formation implementation in Illustris, the condensation of baryons results in significantly rounder and oblate haloes, with the median minor-to-major axis ratio $\left< s\equiv c/a \right> \approx 0.7$, almost constant throughout the halo.
8: Focusing on the inner halo ($r=0.15 R_{200}$), both $s$ and $q$ (intermediate-to-major axis ratio) exhibits non-monotocity with the galaxy mass, peaking at $m_* \approx 10^{11} M_\odot$. We find that this is a result of the strong dependence of halo shape with galaxy formation efficiency and baryonic fraction in the inner halo.
9: The presence of baryons in Illustris affects the correlation of halo shape with halo properties, leading to a positive correlation of the halo sphericity with concentration, which we find is absent in Illustris-Dark.
10: \\
11: \\
12: \end{abstract}
13: