Exhibit 10.5

SECOND AMENDMENT TO THIRD AMENDED AND RESTATED  BUSINESS LOAN AGREEMENT

This Second Amendment to Third Amended and Restated Business Loan Agreement ("Amendment") is made as of April 1, 2001 by and between Bank of America, N.A.
("Bank") and TRM Corporation ("Borrower").

RECITALS

A.    Borrower
and Bank are parties to that Third Amended and Restated Business Loan Agreement dated as of July 21, 2000 (the "Agreement").

B.    Borrower
and Bank executed First Amendment to Third Amended and Restated Business Loan Agreement dated as of July 21, 2000 as amended by such First Amendment is
referred to herein as the "Agreement."

C.    Borrower
has requested that Bank defer a portion of the agreed reduction in line of credit that otherwise would take place April 1, 2001. The portion of the
reduction requested to be deferred is $2,850,000 (the "Deferred Reduction"), and the date to which Borrower requests such deferral is August 1, 2001.

D.    Bank
has agreed to the deferral requested upon the condition that the amendments to the Agreement and the other terms set forth below are agreed to. Borrower has agreed
to such amendments and terms.

THEREFORE,
the parties agree as follows:

AGREEMENT

1.Definitions.Capitalized terms used herein and not otherwise defined shall have the meaning given in the
Agreement.

2.Release of Bank.Borrower hereby releases Bank and it's officers, agents, successors and assigns from all
claims of every nature known or unknown arising out of or related to the Agreement or line of credit provided for therein which now exists, or but for the passage of time, could be asserted, as of the
date Borrower signs this Amendment.

1

---

3.Amendment to Section 1.1(a).Section 1.1(a)of
the Agreement is amended to read as follows:



Period

AmountFrom April 1, 2001 through April 30, 2001

$
28,225,000From May 1, 2001 through May 31, 2001

$
27,490,000From June 1, 2001 through June 30, 2001

$
26,815,000From July 1, 2001 through July 31, 2001

$
25,990,000From August 1, 2001 through August 31, 2001

$
22,540,000From September 1, 2001 through September 30, 2001

$
21,940,000From October 2, 2001 through October 31, 2001

$
21,240,000From November 1, 2001 through November 30, 2001

$
20,440,000From December 1, 2001 through December 31, 2001

$
19,640,000After January 4, 2002

$
-0-    "


4.Change in Applicable Margin.Section 1.5of the
Agreement is amended to read as follows:



5.Amendment to Section 8.6(f).Section 8.6(f)of
the Agreement is amended to read as follows:



6.No Further Amendment.Except as expressly modified by this Amendment, the Agreement shall remain unmodified
and in full force and effect, and the parties hereby ratify their respective obligations thereunder. Without limiting the foregoing, the Borrower expressly reaffirms and ratifies its obligations to
pay or reimburse Bank on request for all reasonable expenses, including legal fees, actually incurred by Bank in connection with the preparation of this Amendment, any other amendment documents and
the closing of the transactions contemplated hereby and thereby.

7.Miscellaneous.



2

---



This
Agreement is executed as of the date stated at the top of the first page.

|Bank of America, N.A                                                                     |  | TRM Corporation                           
|---------------------------------------------------------------------------------------- |  | ------------------------------------------
|By:                                                                                      |  | /s/JANET SLEEPER                          
|Typed Name:                                                                              |  | Janet Sleeper                             
|Title:                                                                                   |  | Senior Vice President                     
|Address where notices to the Bank are to be sent:                                        |  | Address for Notices:                      
|Janet Sleeper
Senior Vice President
Bank of America, N.A.
PO Box 34401
Seattle, WA 98124 |  | 5208 NE 122 Avenue
Portland, OR 97230-1074

3

---

QuickLinks