Minnesota adopted a new state plumbing code on January 23, 2016. We've always had a home-grown plumbing code, but for the first time Minnesota has adopted a national plumbing code — the 2012 UPC — along with our standard list of amendments.