You have to be at least 21 years old to bet on sports in Indiana. That is the age requirement for gambling in the state, and applies to both online sports betting as well as physical sportsbooks.
However, because daily fantasy sports (DFS) is not considered gambling, the age requirement is 18 years old for DFS platforms, where you can pay real-money to participate and win cash prizes.