To convert an int to a long in Java, you can simply use the typecast operator (long) and place it in front of the value you want to convert.