Question: is 40 minutes enough layover time in chicago?
Answer: 40 minutes is generally long enough for any domestic connection at any airport in the US -- provided that the inbound flight is not tardy. Just don't dilly dally between flights and sit in a forward/aisle seat on your inbound flight with minimum carry-on baggage.