Lopez hit walk-off home runs in back-to-back games for Cal State Fullerton on May 19-20, the second of which clinched the Big West Conference championship and an NCAA tournament appearance for the Titans.
The two clutch homers were two exclamation points on a stellar senior season by Lopez, who has a .335 batting average, a .412 on-base percentage and a team-best 51 runs scored.
The homers also proved beneficial for Miami's fifth-round pick, Chad Wallach -- Lopez's teammate at Fullerton. The two will continue as teammates in the Marlins' farm system once the Titans' postseason run comes to an end.
"You're always looking for players that come out of good programs that know how to win," Stan Meek, the Marlins' vice president of scouting, said. "[They're] both productive guys from a winning program, and it's hard to beat that combination. Also, we like them as prospects, so it fit in a lot of ways."
Lopez, a first baseman, was the eighth position player taken by Miami in as many picks on Day 2. The Marlins drafted UNC third baseman Colin Moran No. 6 overall, followed by three pitchers, on Day 1.
Fourth-rounder K.J. Woods, an outfielder, could potentially switch to first base.
Joe Morgan is an associate reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.