Melt butter in a large pot over medium heat.
Add diced onion to the pot and cook until golden brown, stirring occasionally, about 10 minutes.
Stir in flour until the onions are well coated.
Gradually pour in milk, stirring constantly for 1 minute.