The maximum number of members allowed in a Discord server depends on the type of server.
For a standard server, the maximum number of members is 250,000. This includes both online and offline members.
However, if a server is partnered with Discord or has been given VIP status, the member limit can be increased to 500,000.
It's worth noting that while there is a maximum member limit, servers can also have channel limits, file upload limits, and other restrictions set by the server owner or administrators.
If a server reaches its member limit, the owner or administrators may choose to remove inactive members or create a new server to accommodate more members.