Exploring MySQL INT Max Value: Signed and Unsigned Limits
Robert Cooper
Robert CooperSenior Software Engineer · January 31, 2025

Robert Cooper
Robert CooperSenior Software Engineer · January 31, 2025

In MySQL, understanding the maximum value of the INT data type is essential for designing efficient database schemas and ensuring data integrity. Let’s explore the maximum values for both signed and unsigned INT types.
INT max value in MySQL?The maximum value for a signed INT in MySQL is 2,147,483,647. This is because a signed INT uses 4 bytes, and one bit is reserved for the sign, reducing the maximum positive value by 1.
CREATE TABLE example_table (
id INT
);
INT max value in MySQL?If you need to store only non-negative values, you can use an unsigned INT, which effectively doubles the maximum value to 4,294,967,295.
CREATE TABLE example_table (
id INT UNSIGNED
);
INT depends on your data requirements. If you need to store negative values, use a signed INT.Written by
Senior Software Engineer
Robert Cooper is a senior engineer who builds full-stack product systems across SQL data infrastructure, APIs, and frontend architecture. His work focuses on application performance, developer velocity, and reliable self-hosted workflows that make data operations easier for teams at scale.
Basedash lets you build charts, dashboards, and reports in seconds using all your data.