A rational number, that is a decimal, is a number that can be written as a fraction. Because pi never ends, it can't be written as a fraction so its irrational.
An irrational number is a number that cannot be written as a fraction with a num and denom that aren't equal to 0. These cannot be expressed as repeating decimals. -pi has all these traits, therefore it's irrational.