; or (ii) 6 percent. (D) Consolidation loans Notwithstanding the preceding paragraphs of this subsection, any Federal Direct Consolidation Loan for which the application is received on or after July 1, 2018, shall bear interest at an annual rate on the unpaid principal balance of the loan that is equal to the weighted average of the interest rates on the loans consolidated, rounded to the nearest higher one-eighth of one percent. (E) Consultation The Secretary shall determine the applicable rate of interest under this paragraph after consultation with the Secretary of the Treasury and the Chairman of the Board of Governors of the Federal Reserve System and shall publish such rate in the Federal Register as soon as practicable after the date of determination. (F) Rate The applicable rate of interest determined under this paragraph for a Federal Direct Stafford Loan, a Federal Direct Unsubsidized Stafford Loan, or a Federal Direct PLUS Loan shall be fixed for the period of the loan. . 3. Elimination of the loan origination fees on federal direct student loans Section 455(c) of the Higher Education Act of 1965 ( 20 U.S.C. 1087e(c) ) is amended by adding at the end the following: (3) Sunset The Secretary may not charge the borrower of a loan under this part for which the first disbursement is made on or after July 1, 2018, an origination fee. . 4. Refinancing FFEL and federal direct loans Part D of title IV of the Higher Education Act of 1965 ( 20 U.S.C. 1087a et seq.) is amended by adding at the end the following: 460A. Refinancing FFEL and federal direct loans (a) In general Beginning not later than 180 days after the date of enactment of the Student Loan Relief Act of 2017 , the Secretary shall establish a program under which the Secretary, upon the receipt of an application from a qualified borrower, makes a loan under this part, in accordance with the provisions of this section, in order to permit the borrower to obtain the interest rate provided under subsection (c). (b) Refinancing direct loans (1) Federal