How senators voted on the government shutdown

Washington (CNN)Legislation to prevent the government from shutting down failed Friday night in the Senate ahead of the midnight deadline. The total on the procedural motion was 50-49, but 60 votes were needed to advance the bill.

Here's how every senator voted:
Alaska
Sen. Lisa Murkowski, Republican: YES
    Sen. Dan Sullivan, Republican: YES
    Alabama
    Sen. Doug Jones, Democrat: YES
    Sen. Richard Shelby, Republican: YES
    Arkansas
    Sen. John Boozman, Republican: YES
    Sen. Tom Cotton, Republican: YES
    Arizona
    Sen. Jeff Flake, Republican: NO
    Sen. John McCain, Republican: Did not vote
    California
    Sen. Dianne Feinstein, Democrat: NO
    Sen. Kamala Harris, Democrat: NO
    Colorado
    Sen. Michael Bennet, Democrat: NO
    Sen. Cory Gardner, Republican: YES
    Connecticut
    Sen. Richard Blumenthal, Democrat: NO
    Sen. Christopher Murphy, Democrat: NO
    Delaware
    Sen. Thomas Carper, Democrat: NO
    Sen. Chris Coons, Democrat: NO
    Florida
    Sen. Bill Nelson, Democrat: NO
    Sen. Marco Rubio, Republican: YES
    Georgia
    Sen. Johnny Isakson, Republican: YES
    Sen. David Perdue, Republican: YES
    Hawaii
    Sen. Mazie Hirono, Democrat: NO
    Sen. Brian Schatz, Democrat: NO
    Iowa
    Sen. Joni Ernst, Republican: YES
    Sen. Chuck Grassley, Republican: YES
    Idaho
    Sen. Mike Crapo, Republican: YES
    Sen. Jim Risch, Republican: YES
    Illinois
    Sen. Tammy Duckworth, Democrat: NO
    Sen. Dick Durbin, Democrat: NO
    Indiana
    Sen. Joe Donnelly, Democrat: YES
    Sen. Todd Young, Republican: YES
    Kansas
    Sen. Jerry Moran, Republican: YES
    Sen. Pat Roberts, Republican: YES
    Kentucky
    Sen. Mitch McConnell, Republican: NO
    Sen. Rand Paul, Republican: NO
    Louisiana
    Sen. Bill Cassidy, Republican: YES
    Sen. John Kennedy, Republican: YES
    Massachusetts
    Sen. Edward Markey, Democrat: NO
    Sen Elizabeth Warren, Democrat: NO
    Maryland
    Sen. Ben Cardin, Democrat: NO
    Sen. Chris Van Hollen, Democrat: NO
    Maine
    Sen. Susan Collins, Republican: YES
    Sen. Angus King, Independent: NO
    Michigan
    Sen. Gary Peters, Democrat: NO
    Sen. Debbie Stabenow, Democrat: NO
    Minnesota
    Sen. Amy Klobuchar, Democrat: NO
    Sen. Tina Smith, Democrat: NO
    Missouri
    Sen. Roy Blunt, Republican: YES
    Sen. Claire McCaskill, Democrat: YES
    Mississippi
    Sen. Thad Cochran, Republican: YES
    Sen. Roger Wicker, Republican: YES
    Montana
    Sen. Steve Daines, Republican: YES
    Sen. Jon Tester, Democrat: NO
    North Carolina
    Sen. Richard Burr, Republican: YES
    Sen. Thom Tillis, Republican: YES
    North Dakota
    Sen. Heidi Heitkamp, Democrat: YES
    Sen. John Hoeven, Republican: YES
    Nebraska
    Sen. Deb Fischer, Republican: YES
    Sen. Ben Sasse, Republican: YES
    New Hampshire
    Sen. Maggie Hassan, Democrat: NO
    Sen. Jeanne Shaheen, Democrat: NO
    New Jersey
    Sen. Cory Booker, Democrat: NO
    Sen. Robert Menendez, Democrat: NO
    New Mexico
    Sen. Martin Heinrich, Democrat: NO
    Sen. Tom Udall, Democrat: NO
    Nevada
    Sen. Catherine Cortez Masto, Democrat: NO
    Sen. Dean Heller, Republican: YES
    New York
    Sen. Kirsten Gillibrand, Democrat: NO
    Sen. Chuck Schumer, Democrat: NO
    Ohio
    Sen. Rob Portman, Republican: YES
    Sen. Sherrod Brown, Democrat: NO
    Oklahoma
    Sen. James Inhofe, Republican: YES
    Sen. James Lankford, Republican: YES
    Oregon
    Sen. Jeff Merkley, Democrat: NO
    Sen. Ron Wyden, Democrat: NO
    Pennsylvania
    Sen. Bob Casey, Democrat: NO
    Sen. Pat Toomey, Republican: YES
    Rhode Island
    Sen. Jack Reed, Democrat: NO
    Sen. Sheldon Whitehouse, Democrat: NO
    South Carolina
    Sen. Lindsey Graham, Republican NO
    Sen. Tim Scott, Republican: YES
    South Dakota
    Sen. Mike Rounds, Republican: YES
    Sen. John Thune, Republican: YES
    Tennessee
    Sen. Lamar Alexander, Republican: YES
    Sen. Bob Corker, Republican: YES
    Texas
    Sen. John Cornyn, Republican: YES
    Sen. Ted Cruz, Republican: YES
    Utah
    Sen. Orrin Hatch, Republican: YES
    Sen. Mike Lee, Republican: NO
    Virginia
    Sen. Tim Kaine, Democrat: NO
    Sen. Mark Warner, Democrat: NO
    Vermont
    Sen. Patrick Leahy, Democrat: NO
    Sen. Bernie Sanders, Independent: NO
    Washington
    Sen. Maria Cantwell, Democrat: NO
    Sen. Patty Murray, Democrat: NO
    Wisconsin
    Sen. Tammy Baldwin, Democrat: NO
    Sen. Ron Johnson, Republican: YES
    West Virginia
    Sen. Shelley Moore Capito, Republican: YES
    Sen. Joe Manchin, Democrat: YES
    Wyoming
    Sen. John Barrasso, Republican: YES
    Sen. Michael Enzi, Republican: YES